vaab / colour

Python color representations manipulation library (RGB, HSL, web, ...)
BSD 2-Clause "Simplified" License
319 stars 41 forks source link

Implement major color representations #20

Closed pradyunsg closed 2 years ago

pradyunsg commented 8 years ago

Nice job with this library.

The only thing I think is that it does not implement all the colour representations. Here's a check-list to motivate you to add those.

Possibly the best part of this library is that it is independent (single-file, no dependencies). I request you to please keep it the same.

vaab commented 8 years ago

Hehe, thanks for your interest and support, and sharing your POV. There are no plans to get this more complex than it is now. And PR are welcome for all these other formats :), or even some links to page expliciting the conversion algorithms that could be used would surely help these to be released sooner.

pradyunsg commented 8 years ago

You could use colorsys from the standard library. That has RGB to HSV, HSL, YUI and vice-versa.

pradyunsg commented 8 years ago

Also, here's a link to a page with the relevant color-conversion formulae. http://www.easyrgb.com/?X=MATH

Also, colours should be stored as decimal, for arbitrary precision.

pradyunsg commented 7 years ago

Bump. Any chance someone else would work on this?

NoAnyLove commented 7 years ago

Cool and nice library, but I'm looking for a library that supports LAB.

pradyunsg commented 2 years ago

Closing since doesn't look like anyone's gonna be doing this. :)