CFLConvertRGBStringToHex Procedure

  • 2 minutes to read

Codeunit CFL Color Convert Mgt.

Converts an RGB string to HEX format.

Signature

CFLConvertRGBStringToHex(RGB: text) Hex: text

Parameters

RGB text

The RGB string (e.g., '255,128,64').

Returns

text

The HEX color code (e.g., '#RRGGBB').