Color.ToString Manual     Reference     Scripting  
Scripting > Runtime Classes > Color
Color.ToString

function ToString () : string

function ToString (format : string) : string

Description

Returns a nicely formatted string of this color.

JavaScripts
print(Color.white);

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
print(Color.white);
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
print(Color.white)