Table of Contents

Method FromRgb

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

FromRgb(byte, byte, byte)

Creates an opaque Color structure from the four ARGB components (255, red, green, and blue) values.

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

Parameters

red byte

Red component of the color.

green byte

Green component of the color.

blue byte

Blue component of the color.

Returns

Color