Sign in to follow this  
Followers 0
happytc

About Color value conversion

3 posts in this topic

RGB —> HSL:

R = 255, G = 255, B = 255

Return value from function of ColorChooser() is :

H = 160, S = 0, L = 240

why here H = 160 instead of H = 0 ?

Share this post


Link to post
Share on other sites



I got it

Because HSL color has redundancy

HSL(0, 0, 240) and HSL(160, 0, 240) express the same color.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0