⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Color.Implicit Conversions

static Color32 Implicit Conversions(Color c)

This allows for implicit conversion to Color32. This does not convert from linear to gamma corrected, or clamp to 0-1 first, so values over 1 will wrap when crushed to bytes! For HDR colors, see ToColor32Sat.

   
Color c A 128 bit color to crush down.
RETURNS: Color32 A crushed down color.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!