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