colorHexToV

Syntax

float colorHexToV(hexValue)

Parameters

Returns

Returns V value in [0,1] after converting hexadecimal color to HSV.

Description

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

Related

Examples

colorHexToV("#608040")
# result = 0.5019607843137256

colorHexToV("#60804080")
# result = 0.5019607843137256

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