Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ColorUtility

class in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Description

A collection of common color functions.

Static Methods

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.