/// <summary> /// Create a brush based upon a single color. /// </summary> /// <param name="hex">The hex value of the color to use.</param> /// <returns>A SolidColorBrush that includes the color.</returns> public static SolidColorBrush Create(string hex) { return(new SolidColorBrush(ColorsHelper.CreateFromHex(hex))); }