unity new color rgb code example Example: new Color from hex in unity Color greenColor; ColorUtility.TryParseHtmlString("#0AC742", out greenColor);