Table of Contents

Method FromRgb

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

FromRgb(int)

Creates a System.Drawing.Color structure from a 32-bit RGB value. The alpha value is 255.

public static Color FromRgb(int rgb)

Parameters

rgb int

A value specifying the 32-bit RGB value.

Returns

Color

The System.Drawing.Color structure that this method creates.