Click or drag to resize

ColorByte(Int32, Int32, Int32, Int32) Constructor

Constructs an RGBA color from scalars representing red, green, blue and alpha values.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public ColorByte(
	int red,
	int green,
	int blue,
	int alpha = 255
)

Parameters

red  Int32
Red component value from 0 to 255.
green  Int32
Green component value from 0 to 255.
blue  Int32
Blue component value from 0 to 255.
alpha  Int32  (Optional)
Alpha component value from 0 to 255.
See Also