colorHexToH

Synopsis

string colorHexToH(string hex)

Parameters

Returns

returns H value in [0,360] degrees after converting hex color to HSV.

This function converts a hex color string to HSV and returns the H value.

Related

Examples

example.1
	colorHexToH("#608040")
	# result = 90

example.2
	colorHexToH("#60804080")
	# result = 90

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