Qix- / color-convert

Plain color conversion functions in JavaScript
MIT License
745 stars 96 forks source link

Can this library provide conversion of color to xyY color space as well?? #96

Open smmehadi opened 4 years ago

smmehadi commented 4 years ago

We are planning to use this library for color conversions and it looks great, the only missing part is it doesn't provide conversion to xyY color space. please include that.

Qix- commented 4 years ago

Apologies for the delay - if you're still using this library, or interested, could you provide some more information?

Under normal circumstances I'm opposed to supporting individual color spaces because they are entirely arbitrary (as opposed to color models, which are not). If there's substantial reasoning for including it under the guise of a color model then I'd be willing to include it.

Qix- commented 2 years ago

Moving this to color-convert as I see this is just another model. Ref: http://www.colorwiki.com/wiki/XyY