bendc / frontend-guidelines

Some HTML, CSS and JS best practices.
8.29k stars 653 forks source link

Colors #12

Closed mrflix closed 9 years ago

mrflix commented 9 years ago

Hello Benjamin,

why do you see hsl inferior to hex?

Hsl gives me the possibility to work with colors: if I want to tone down the color for the active state I adjust the lightness. When I want to create a slightly blue toned gray I use a hue of ~200, a saturation of ~8% and ~97% lightness.

atadams commented 9 years ago

+1

richn commented 9 years ago

+1

bendc commented 9 years ago

I like HSL per se too, but it is unfortunately pretty much useless in practice as most design tools use HSB instead. I often see designers getting confused because they don't realize HSL != HSB.