View Single Post
Old 01-06-2019, 01:43 PM   #99
woodslanding
Human being with feelings
 
woodslanding's Avatar
 
Join Date: Mar 2007
Location: Denver, CO
Posts: 265
Default

Looking at this:

https://gka.github.io/chroma.js/

There is support for HCL, so the code is in there somewhere.

I like how you can take an existing color and set it to a particular luminance.... I am going to have a look at the code that does that, that seems like a good way of allowing the user to select any color, and still have it show up properly against various colors of background or text
__________________
e moon
http://ericmoonmusic.com
>>{ Very Stable Genius }<<
woodslanding is offline   Reply With Quote