This version of Unity is unsupported.

Color32.ToString

Declaration

public string ToString();

Declaration

public string ToString(string format);

Description

Returns a nicely formatted string of this color.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Color32 color = Color.white; print(color.ToString("x")); } }