-
Notifications
You must be signed in to change notification settings - Fork 4
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
ideas #5
Comments
|
|
peep chroma.js, and this article |
|
better compensation when tweaking individual properties beyond compatible ranges -- see for example the sliders here https://css.land/lch/ -- you have to raise brightness in order to be able to raise chroma |
^ WONTFIX, currently possible: (let* ((colors '("#000000" "#888888" "#ffffff"))
(candidate "#777777"))
(first
(seq-sort-by
(-partial 'ct-distance candidate)
'< colors))) ; yields "#888888" |
Would love a function to find the closest color at bit-depth |
@tadfisher Thanks for the idea! -- in the meantime if you have a known list of colors (eg a list of "8 bit" colors) you can use something like the example I just added here: #5 (comment) |
Actually that makes sense; I didn't realize that "256 color" terminals use particular color values instead of a uniform 8-bit distribution. Thanks! |
support RGB colorspace (we just kinda leave everyone to their own devices there rn)The text was updated successfully, but these errors were encountered: