gtaylor / python-colormath

A python module that abstracts common color math operations. For example, converting from CIE L*a*b to XYZ, or from RGB to CMYK
python-colormath.readthedocs.org
BSD 3-Clause "New" or "Revised" License
456 stars 83 forks source link

Add Luma/Chroma/Hue model #20

Closed ChameleonRed closed 10 years ago

ChameleonRed commented 10 years ago

Please add Luma/Chroma/Hue model -> http://en.wikipedia.org/wiki/HSL_and_HSV

gtaylor commented 10 years ago

If you are looking for CIE LCH or CIE LCHuv, we already have both of those:

http://python-colormath.readthedocs.org/en/latest/color_objects.html#lchabcolor http://python-colormath.readthedocs.org/en/latest/color_objects.html#lchuvcolor

The article you linked interchanges Lightness and Luma/Luminousity pretty freely, though they are different things. If you are looking for a color space that we don't have, provide an article outlining the actual color space specifically. This one is for HSL/HSV with a very shoddy conversion section that doesn't tell me much.

gtaylor commented 10 years ago

Closing for now. Re-open with further details if I didn't address your request.