Skip to content
Version 2.11.0
↓ Get the launcher

ColorRgba structure

Plain RGBA float colour. Mirrors UnityEngine.Color shape without depending on Unity.

public struct ColorRgba : IEquatable<ColorRgba>
name description
ColorRgba(…) Plain RGBA float colour. Mirrors UnityEngine.Color shape without depending on Unity. (2 constructors)
static FromHex(…) Constructs a colour from a packed 32-bit RGBA hex value (e.g. 0xFF8040FF).
A { get; set; }
B { get; set; }
G { get; set; }
R { get; set; }