CFLConvertRGBtoHEXA Procedure

  • 2 minutes to read

Codeunit CFL Color Convert Mgt.

Converts RGB color values to HEXA format with full opacity (alpha = FF).

Signature

CFLConvertRGBtoHEXA(R: integer; G: integer; B: integer; A: decimal) HexA: text

Parameters

R integer

Red component (0-255).

G integer

Green component (0-255).

B integer

Blue component (0-255).

A decimal

Alpha component (not used, full opacity is assumed).

Returns

text

The HEXA color code with full opacity (e.g., '#FFRRGGBB').