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