public static CustomColor FromHex(string redHex, string greenHex, string blueHex) { return(CustomColor.FromRgb( int.Parse(redHex, NumberStyles.HexNumber), int.Parse(greenHex, NumberStyles.HexNumber), int.Parse(blueHex, NumberStyles.HexNumber))); }