HSB

HC Graphics Direct Graphics HSB
reRGBA HSBA

HSB hue saturation brightness


outputs an integer color of the format red:8 green:8 blue:8 bits from hue between 0 and 360 (hue=0 is red, hue=120 is green, hue=240 is blue) and saturation and brightness between 0 and 1.

Example:

setPC HSB 120 1 1  pd  fd 100	;draws a green line

See also:

Examples:

References:

reRGBA HSBA