Click or drag to resize
Ab4d.SharpEngine logo

Color4FromByteRgba Method

Gets Color4 from red, green, blue and alpha values defined as bytes (each value in range from 0 to 255)

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public static Color4 FromByteRgba(
	byte red,
	byte green,
	byte blue,
	byte alpha
)

Parameters

red  Byte
The red component of the color.
green  Byte
The green component of the color.
blue  Byte
The blue component of the color.
alpha  Byte
The alpha component of the color.

Return Value

Color4
Color4
See Also