Open stiff opened 10 years ago
I'd be happier if you work with @daveheitzman to figure out which bits work well together. I'm a little swamped right now, so I'm not having a lot of time to spend on the design for color 2.0, which is when these classes will be introduced.
I am interested in this, but would prefer if you could target this to the changes being made either in color-2
directly or preferably the CIE-Lab-class
branch referenced in #12.
Done. Take a look please
Sorry guys I missed the existing #8 pull request, but anyway think some bits maybe useful.
This should be backward-compatible: previously to_xyz/to_lab returned hash now its LAB and XYZ classes, but they support accessing individual components by square brackets, like hash:
rgb.to_xyz[:x]