Page 1 of 1

Hue, saturation, and brightness

Posted: Thu Oct 27, 2005 7:19 am
by mattsj1984
I was wondering if there is a reason that having a hue of 0, saturation of 1, and brightness of 1 does not produce white. In other applications of HSB, (0,1,1) is white; in fact, (*,*,1) is white. However, in Context Free having (0,1,1) just makes a fully saturated color, and to get white the saturation must go down to 0. Have I made some mistake, or is this how it is intended to work?

Posted: Thu Oct 27, 2005 10:27 am
by MtnViewJohn
You are thinking of the HSL color space. Context Free/CFDG uses the HSB (or HSV) color space. Some graphics applications use HSB and some use HSL.

Posted: Thu Oct 27, 2005 10:55 am
by aqua_scummm
HSB works because the hue defines a color, based on a 360º color wheel. the brighness explains how dark or light it is. The saturation is how much the color is added to the gray. So to have white, you must be completely bright, and completely devoid of color. meaning *,0,0.

Posted: Thu Oct 27, 2005 11:13 am
by Guest
Thanks, I didn't realize there was a difference between the two color spaces.

Posted: Thu Oct 27, 2005 11:43 pm
by aqua_scummm
whoops, redundant post, didnt see the links at first :/