HSV Function

Returns a Color object based on the HSV (hue, saturation, value) color model.

Syntax
result = HSV( hue, saturation, value )

Parameters
hue | Double | The value of Hue in the color.
saturation | Double | The value of Saturation in the color.
value | Double | The value of Value in the color.

Return Value
Result | Color | An object that represents the color based on the hue, saturation, and value values.

# Notes

The HSV function returns a color object based on the amounts of Hue, Saturation, and Value passed. These amounts are represented by doubles between 0 and 1.

Colors can also be created using the RGB or CMY models. You can also use the &c literal to specify a color using the RGB model.

# Examples

This example uses the HSV function to assign a Color to the FillColor property of a Rectanglecontrol.

Rectangle1.FillColor=HSV(.8,.5,.75)

# See Also

Color data type, CMY, RGB, SelectColor functions; &c literal.