HCL color space explained

HCL (Hue-Chroma-Luminance) or LCh refers to any of the many cylindrical color space models that are designed to accord with human perception of color with the three parameters. Lch has been adopted by information visualization practitioners to present data without the bias implicit in using varying saturation.[1] [2] [3] They are, in general, designed to have characteristics of both cylindrical translations of the RGB color space, such as HSL and HSV, and the L*a*b* color space. Some conflicting definitions of the terms are:

Derivation

Color-making attributes

See also: Color vision.

HCL concerns the following attributes of color appearance:

Hue: The "attribute of a visual sensation according to which an area appears to be similar to one of the perceived colors: red, yellow, green, and blue, or to a combination of two of them".
  • Lightness, value: The "brightness relative to the brightness of a similarly illuminated white".
  • Luminance (Y or Lv,Ω): The radiance weighted by the effect of each wavelength on a typical human observer, measured in SI units in candela per square meter . Often the term luminance is used for the relative luminance, Y/Yn, where Yn is the luminance of the reference white point.
  • Colorfulness: The "attribute of a visual sensation according to which the perceived color of an area appears to be more or less chromatic".
  • The HSL and HSV color spaces are more intuitive translations of the RGB color space, because they provide a single hue number. However, their luminance variation does not match the way humans perceive color. Perceptually uniform color spaces outperform RGB in cases such as high noise environments.[8]

    CIE color spaces

    CIE-based LCh color spaces are transformations of the two chroma values (ab or uv) into the polar coordinate. The source color spaces are still very well-regarded for their uniformity, and the transformation does not cause degradation in this aspect. See the respective articles for how the underlying coordinates are derived.

    Sarifuddin 2005

    Sarifuddin, noting the lack of blue hue consistency of CIELAB - a common complaint among its users - [9] decided to make their own color space by mashing up some of the features.

    According to the Stack Overflow user Tatarize, what Sarifuddin proposes as "HCL" is algorithmically similar to HSL. While pointing out advantages in computational efficiency, they argue that Sarifuddin's work does not represent a significant improvement over the CIELAB color space while showing failure to reproduce the paper's claims.[10] [11] They also propose what they consider to be an improved version of Sarifuddin's algorithm.[12]

    Other color appearance models

    In general, any color appearance model with a lightness and two chroma components can also be transformed into a HCL-type color space by turning the chroma components into polar coordinates.

    Implementations

    CIELCh has been implemented in a wide range of ways: as programmatic code for generating color swatches in statistics tools, as standalone tools for designing and testing swatches, or as libraries that allow other programs to use the color space. Some implementations include:

    External links

    Notes and References

    1. Ihaka . Ross . Ross Ihaka . Colour for Presentation Graphics . Proceedings of the 3rd International Workshop on Distributed Statistical Computing, Vienna, Austria . Hornik . Kurt . Leisch . Friedrich . Zeileis . Achim . 1609-395X . 2003 .
    2. Zeileis . Achim . Hornik . Kurt . Murrell . Paul . Escaping RGBland: Selecting Colors for Statistical Graphics . Computational Statistics & Data Analysis . 53 . 9 . 3259–3270 . 2009 . 10.1016/j.csda.2008.11.033 .
    3. Stauffer . Reto . Mayr . Georg J. . Dabernig . Markus . Zeileis . Achim . Somewhere over the Rainbow: How to Make Effective Use of Colors in Meteorological Visualizations . Bulletin of the American Meteorological Society . 96 . 2 . 203–216 . 2015 . 10.1175/BAMS-D-13-00155.1 . 2015BAMS...96..203S . 10419/101098 . free .
    4. Zeileis. Achim. colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes. Fisher. Jason C.. Hornik. Kurt. Ihaka. Ross. McWhite. Claire D.. Murrell. Paul. Stauffer. Reto. Wilke. Claus O.. Journal of Statistical Software . 2020 . 96 . 1 . 1–49 . 10.18637/jss.v096.i01 . 1903.06490. 80628405 .
    5. A New Perceptually Uniform Color Space with Associated Color Similarity Measure for Content-Based Image and Video Retrieval . https://web.archive.org/web/20190220074017/http://pdfs.semanticscholar.org/206c/a4c4bb4a5b6c7b614b8a8f4461c0c6b87710.pdf . dead . 2019-02-20 . M. . Sarifuddin . amp . Rokia . Missaoui . 2005 . 17570716 . Multimedia Information Retrieval Workshop, 28th Annual ACM SIGIR Conference. . Abstract/long-form corrected report
    6. https://m3.material.io/styles/color/system/how-the-system-works Material Design 3: Defining colors with hue, chroma, and tone (HCT)
    7. Web site: The Science of Color & Design . 2022-02-17 . James O'Leary . Material Design Blog.
    8. Paschos . G. . 2001 . Perceptually Uniform Color Spaces for Color Texture Analysis: An Empirical Evaluation . IEEE Transactions on Image Processing . 10 . 6 . 932–937 . 10.1109/83.923289. 2001ITIP...10..932P .
    9. McLellan . M. R. . Lind . L. R. . Kime . R. W. . 1995 . Hue Angle Determinations and Statistical Analysis for Multiquadrant Hunter L,a,b Data. Journal of Food Quality . 18 . 3 . 235–240 . 10.1111/j.1745-4557.1995.tb00377.x. free .
    10. Web site: tatarize . HCL color to RGB and backward . Stack Overflow.
    11. Web site: Tatarize. HCL: a new Color Space for a pack of lies. . Ssnot! . 22 May 2019 . 4 September 2012.
    12. Web site: algorithm - HCL color to RGB and backward. 2020-12-08. Stack Overflow.
    13. Web site: colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes . The Comprehensive R Archive Network. 23 January 2023 .
    14. Web site: Welcome to python-colorspace's documentation! . Read the Docs.
    15. Web site: HCL Wizard .
    16. Web site: Scientific colour maps . Fabio Crameri.
    17. Web site: ac-colors . GitHub.
    18. Web site: Chroma.js . GitHub.
    19. Web site: colorio . PyPI.