Click or drag to resize

Color Constructor (Byte, Byte, Byte, Single)

Initializes a new instance of the Color struct.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public Color(
	byte r,
	byte g,
	byte b,
	float a
)

Parameters

r
Type: SystemByte
The red value of this Color.
g
Type: SystemByte
The green value of this Color.
b
Type: SystemByte
The blue value of this Color.
a
Type: SystemSingle
The alpha value of this Color.
See Also