back to Table of Contents


HUE32 & SAT32 & BRI32 (function)

Some more convenience functions for the HSB/HSV colorspace, parameters and results are similar to the QB64 functions _RED32/_GREEN32/_BLUE32 for the RGB colorspace with the only difference, that the HSB results are returned as SINGLEs. If you work with any INTEGER types only, then you can use CINT or CLNG on the results to get back the same values originally passed to the HSB32()/HSBA32() functions.


SYNTAX:

hue! = HUE32! (argbColor&)
sat! = SAT32! (argbColor&)
bri! = BRI32! (argbColor&)

INPUTS:

argbColor& (LONG)


RESULT:

hue! (SINGLE)

sat! (SINGLE)

bri! (SINGLE)


back to Table of Contents