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

Feature #36 HSP color space, and color.brightness() #41

Closed
wants to merge 1 commit into from

Conversation

arya-s
Copy link
Contributor

@arya-s arya-s commented Dec 3, 2014

Hey,

based on feature request #36, I implemented the HSP color space as explained in [1].
Additionally, similar to color. luminance(), I implemented color.brightness() that returns the perceived brightness P of HSP as a standalone function.

Missing: Interpolation between two colors in hsp. I wasn't sure about these lines in colors.coffee.

[1] http://alienryderflex.com/hsp.html

@roryokane
Copy link

I don’t think this should be merged, because as I wrote in #36 (comment), HSP seems strictly worse than the similar HSLuv color space. If any color space like this is implemented, it should be HSLuv, so that the colors people generate will have perceptually uniform hues.

@arya-s arya-s closed this Aug 14, 2020
@meodai
Copy link

meodai commented Aug 17, 2020

would love to see HSLuv in chroma <3

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

Successfully merging this pull request may close these issues.

3 participants