Table of Contents

Method Hex

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Hex(int)

Writes a colour as #RRGGBB.

public static string Hex(int rgb)

Parameters

rgb int

The colour as 0xRRGGBB.

Returns

string

The text.