Closed daveheitzman closed 10 years ago
That sounds reasonable. Would it be worthwhile having a LAB class (like with the RGB class)? I've made you a contributor here as I think you're doing good work with this.
Closing because you've done a lot of work toward this in #8, represented in the target of color 2.0 as #12.
i'd like to put the lab stuff into its own namespace and separate .rb file. The to_lab and other related methods would also be added to rgb, hsl and other color type libraries.
Additionally, I have completed a working implementation of the e2000 contrast algorithm and would like to release that for use, wherever it might be useful, into this project.
This would largely consist of putting the existing LAB-related code that currently lives in rgb.rb into its own file and module, LAB.