Table of Contents

Method FromRgb

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

FromRgb(byte, byte, byte)

Gets the true colour of a red, a green and a blue, as AutoCAD's FromRgb; its ColorIndex the index nearest it, the first of the nearest.

public static DxfColor FromRgb(byte red, byte green, byte blue)

Parameters

red byte

The red, 0 to 255.

green byte

The green, 0 to 255.

blue byte

The blue, 0 to 255.

Returns

DxfColor

The colour.