- Ya
- 25 Agosti 2026, 16:26 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 0c7fb19
Counting RGB values across a stylesheet elects the site's off-white page background every time -- it is the most-used colour on almost every site ever built. What the wizard needs is the colour a human would point at and call "their blue", which is a question about chroma, not count. OKLCH rather than HSL because HSL's lightness is not perceptual: hsl(60,100%,50%) and hsl(240,100%,50%) claim the same lightness while one is blinding and the other nearly black. Distance is computed on the Cartesian OKLab axes, not on hue, because hue is meaningless for a near-grey -- two identical greys can sit 180 degrees apart, which is exactly where a secondary-colour choice would otherwise go wrong. Parses the bare "37 99 235" channel triple too. Tailwind emits its custom properties that way so opacity modifiers can compose them, so without it most new marketing sites yield no brand colour at all.