Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"HCL" can refer to different things #49

Open
makew0rld opened this issue Jan 21, 2021 · 0 comments
Open

"HCL" can refer to different things #49

makew0rld opened this issue Jan 21, 2021 · 0 comments

Comments

@makew0rld
Copy link
Collaborator

makew0rld commented Jan 21, 2021

I'm writing code to bring HSLuv to go-colorful (see #41), and I noticed that term "HCL" is used to refer to the cylindrical transformation of CIELAB. But as Wikipedia notes, the term "HCL" is very ambiguous. Furthermore, the use of cylindical CIELUV is much more common, and go-colorful does not have support for this.

I am going to be implementing cylindrical CIELUV (aka CIE LCh(uv)) as it's required for HSLuv. But I'd like to recommend that all functions using the term "HCL" be deprecated, and new ones be created that use a more accurate term - perhaps LabLCh is good? Or LabCylinder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant