Maptitude GISDK Help

GetColorHSV()

Summary

Returns the hue, saturation and brightness values of a color.

 

Syntax

hsv_array = GetColorHSV(color c)

 

Argument Contents
c The color whose hue, saturation and brightness values are determined

 

Returns

An array of three (3) elements: the hue, saturation and brightness values.

 

Element Type Contents
1 Real Hue in color spectrum, from 0 (red) to 359 (violet), or -1 for an achromatic color (e.g. white, gray, black).
2 Real Saturation, from 0 (unsaturated, achromatic) to 1 (maximally saturated, pure color).
3 Real Brightness value from 0 (dark) to 1 (light), with maximally bright pure red, green and blue colors having a value of 1.

 

Notes

See Also

Function Summary
ColorHSV() Creates a color based on hue, saturation, and brightness

 

 

©2025 Caliper Corporation www.caliper.com