colorHexToH

Syntax

float colorHexToH(hexValue)

Parameters

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

Examples

colorHexToH("#608040")
# result = 90

colorHexToH("#60804080")
# result = 90

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