S&box Wiki


A 32bit color, commonly used by things like vertex buffers.

The functionality on this is purposely left minimal so we're encouraged to use the regular Color struct.



byte A { get; set; }
byte B { get; set; }
byte G { get; set; }
string Hex { get; }
double Item { get; }
byte R { get; set; }
uint RGBA { get; }


static Color32 Max( Color32 a, Color32 b )
static Color32 Min( Color32 a, Color32 b )
Color32 Read( System.IO.BinaryReader reader )
void Write( System.IO.BinaryWriter writer )