back to Table of Contents


HSBtoRGB (sub)

This routine converts a color given in values of the HSB/HSV colorspace to its respective representation within the RGB colorspace.

Note that the results of this routine are returned as intended side effects through the given arguments, hence you must provide type LONG variables (signed or unsigned) for the results.


SYNTAX:

HSBtoRGB hue~&, sat~&, bri~&, red~&, gre~&, blu~&

INPUTS:

hue~& (_UNSIGNED LONG)

sat~& (_UNSIGNED LONG)

bri~& (_UNSIGNED LONG)


RESULT:

red~& ((_UNSIGNED) LONG variable)

gre~& ((_UNSIGNED) LONG variable)

blu~& ((_UNSIGNED) LONG variable)


back to Table of Contents