Initializes a new instance of the RGB class.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public RGB(
	byte red,
	byte green,
	byte blue,
	byte alpha
)

Parameters

red
Type: System..::.Byte
Red component.
green
Type: System..::.Byte
Green component.
blue
Type: System..::.Byte
Blue component.
alpha
Type: System..::.Byte
Alpha component.

See Also