Documentation

Unity Engine

Download Unity

Unity Engine

Color32(byte, byte, byte, byte)

Constructs a new Color32 with given r, g, b, a components.
Read time 1 minuteLast updated a day ago

Definition

public Color32(byte r, byte g, byte b, byte a)

Parameters

Examples

using UnityEngine;public class Example : MonoBehaviour{ Color32 color = new Color32(64, 128, 192, 255);}