Converts a Color to a Color32.
Color
color
This method is faster than Unity's native color conversion, especially when using Burst.