Color32.ToString
public string ToString();
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")); } }