public static Color ToColor(this OpenXml.StringValue color) { var hex = color?.Value; var result = hex.ToColor(); return(result); }
/// <summary> /// Initializes a new instance of the StringValue class by deep copying the supplied StringValue class. /// </summary> /// <param name="source">The source StringValue class.</param> public StringValue(StringValue source) : base(source) { }