colorHSVOToHex

Synopsis

string colorHSVOToHex(float hue, float sat, float val, float o)

Parameters

Returns

returns hex color string (format: "#rrggbboo") for HSV color with opacity value.

This function converts an HSV color with opacity to a hex color string. It converts negative degrees or degrees greater than 360 for hue to the range [0,360]. It clamps sat, val, and o to the range [0,1].

Related

Examples

example.1
	colorHSVOToHex(90,0.5,0.5,0.5)
	# result = "#60804080"

Copyright ©2008-2017 Esri R&D Center Zurich. All rights reserved.