colorHexToH
Syntax
float colorHexToH(hexValue)
Parameters
- hexValue (string)
Hexadecimal color string in the format "#rrggbb" or "#rrggbboo"
Returns
Returns H value in [0,360] degrees after converting hexadecimal color to HSV.
Description
This function converts a hexadecimal color string to HSV and returns the H value.
Related
- colorHexToS function
- colorHexToV function
- colorHexToR function
- colorHexToG function
- colorHexToB function
- colorHexToO function
- colorHSVToHex function
- colorHSVOToHex function
- colorRGBToHex function
- colorRGBOToHex function
Examples
colorHexToH("#608040") # result = 90 colorHexToH("#60804080") # result = 90
Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.