S&box Wiki

Color.ToColor32

Syntax

Color32 ToColor32( bool srgb = False )

Description

Convert to a Color32 (a 32 bit color value)

Arguments

bool srgb False
If true we'll convert to the srgb color space

Returns