Jump to content
Sign in to follow this  
happytc

About Color value conversion

Recommended Posts

happytc

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
happytc

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.