Click or drag to resize

ColorRGBACreateFromArgb Method (Byte, Byte, Byte)

Constructs a RGBA color from the specified 8-bit components (red, green, and blue) values. The alpha value is implicitly 1.0 (fully opaque).

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static ColorRGBA CreateFromArgb(
	byte red,
	byte green,
	byte blue
)

Parameters

red
Type: SystemByte
The red component. Valid values are 0 through 255.
green
Type: SystemByte
The green component. Valid values are 0 through 255.
blue
Type: SystemByte
The blue component. Valid values are 0 through 255.

Return Value

Type: ColorRGBA
A RGBA color with the specified component values.
See Also