Re: [css-color] Add HCL (aka Lch) color scheme

On Thu, Jul 9, 2015 at 11:13 PM, Nikita Vasilyev <me@elv1s.ru> wrote:
> I propose to add HCL color scheme to CSS.
>
> "The Hue-Chroma-Luminance (HCL) color space is based on how the human
> perception works. When using HCL, you can directly control the color (hue),
> the colorness (chroma) and the luminance (brightness).”
> – Why HCL? http://hclwizard.org/why-hcl/
>
>
> HCL is supported by d3.js:
> "D3 supports CIELAB (Lab) and CIELCH (HCL) color spaces, which are designed
> for humans rather than computers.
>
> Lab and HCL color spaces are special in that the perceived difference
> between two colors is proportional to their Euclidean distance in color
> space. This special property, called perceptual uniformity, makes them ideal
> for accurate visual encoding of data. In contrast, the more familiar RGB and
> HSL color spaces distort data when used for visualization."
> – Mike Bostock, https://gist.github.com/mbostock/3014589

Amusingly, Mike Bostock has another page describing the HCL rainbow as
"ugly" <http://bl.ocks.org/mbostock/310c99e53880faec2434> ^_^

I am currently (slowly) working on turning the CubeHelix rainbow into
something usable as a CSS color system.  It's intended to be the basis
of a new named color system, but it should be useful as an HCL-like
system as well, that's hopefully a bit more attractive.

~TJ

Received on Monday, 13 July 2015 20:17:39 UTC