choose HEX color c# unity code example
Example 1: unity get hex from color
ColorUtility.ToHtmlStringRGB( myColor );
Example 2: hex color unity
ColorUtility.TryParseHtmlString (hexString, out color);
ColorUtility.ToHtmlStringRGB( myColor );
ColorUtility.TryParseHtmlString (hexString, out color);