protected override System.Drawing.Color Convert(int value, object parameter, CultureInfo culture) { MvxHexParser.ParseRGBInteger(value, out int red, out int green, out int blue); var color = System.Drawing.Color.FromArgb(red, green, blue); return(color); }
protected override System.Drawing.Color Convert(string value, object parameter, CultureInfo culture) => MvxHexParser.ColorFromHexString(value);