colorHexToV

Synopsis

string colorHexToV(string hex)

Parameters

Returns

returns V value in [0,1] after converting hex color to HSV.

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

Related

Examples

example.1
	colorHexToV("#608040")
	# result = 0.5019607843137256

example.2
	colorHexToV("#60804080")
	# result = 0.5019607843137256

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