private string GetFormatedColorString(Color?colorToFormat) { if ((colorToFormat == null) || !colorToFormat.HasValue) { return(string.Empty); } return(ColorUtilities.FormatColorString(colorToFormat.ToString(), UsingAlphaChannel)); }
private string GetFormatedColorString(string stringToFormat) { return(ColorUtilities.FormatColorString(stringToFormat, UsingAlphaChannel)); }