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

Color.ToColor32Sat

Color32 ToColor32Sat()

Converts to Color32, clamping each channel to 0-1 first: values outside that range wrap when crushed to bytes, turning HDR colors into hue garbage. Costs a little more than the implicit conversion, which skips the clamp.

   
RETURNS: Color32 A crushed down color.




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