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 |
|---|---|
| ToHtmlStringRGB | Returns the color as a hexadecimal string in the format "RRGGBB". |
| ToHtmlStringRGBA | Returns the color as a hexadecimal string in the format "RRGGBBAA". |
| TryParseHtmlString | Attempts to convert a html color string. |