RGB can be a real pain to work with. It’s hardware-oriented, non-intuitive and even after 10 years of coding RGB combinations for the web, I still can’t get the colors right without an external reference application. If a client calls and tells me he prefers the blue color to be “slightly less saturated” or “just a bit darker”, I always open up photoshop, type in my previous hex value, drag the pointer to a new color that fits, copy the new hex value I get and finally insert it into my style sheet. Coding colors by hand shouldn’t be that hard. Fortunately, CSS3 offers support for the HSL color space that is much easier to work with as a human.
(more…)