SysColorCtrl.ConvertRGBToHex method

The ConvertRGBToHex method converts an RGB value to hexadecimal.

Syntax

SysColorCtrl.ConvertRGBToHex( _
  ByVal rgb _
)

Parameters

rgb [in]

An integer that is the RGB value of the color.

Return value

A string that contains the hexadecimal value equivalent of the RGB value specified by rgb.

Requirements

Redistributable
MMC 1.1 or later
DLL
Cic.dll