Sign in to follow this  
LessBread

HSL and undefined hue

Recommended Posts

I've been playing around with some code that converts between HSL and RGB that uses -400 as the value for undefined hue, for example, with grayscale shades. This raised the question for me if there was a technical reason for that value or if it was an agreed upon convention or if the original coder just picked it because it was negative and far from 360. Can anyone shed some light on this for me? [Edited by - LessBread on October 4, 2006 3:10:47 PM]

Share this post


Link to post
Share on other sites
Ok. Thanks. That reminds me of something I forgot to do over the weekend...

This, HSL color space, says "H = 0 is often used instead of leaving H undefined."

[Edited by - LessBread on October 4, 2006 3:50:23 PM]

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