unity set hex as color code example Example: hex color unity ColorUtility.TryParseHtmlString (hexString, out color);