Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ColorUtility

A collection of common color functions.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public class ColorUtility

Static Methods

Method

Description

ToHtmlStringRGBReturns the color as a hexadecimal string in the format "RRGGBB".
ToHtmlStringRGBAReturns the color as a hexadecimal string in the format "RRGGBBAA".
TryParseHtmlStringAttempts to convert a html color string.