/// <summary> /// Toes the color of the HSB. /// </summary> /// <param name="color">The color.</param> /// <returns></returns> public static HSBColor ToHSBColor(Color color) { return(HSBColor.FromColor(color)); }
/// <summary> /// Toes the color of the HSB. /// </summary> /// <param name="HTMLColor">Color of the HTML.</param> /// <returns></returns> public static HSBColor ToHSBColor(string HTMLColor) { return(HSBColor.FromColor(ToColor(HTMLColor))); }
/// <summary> /// Toes the color of the HTML. /// </summary> /// <param name="hsbColor">Color of the HSB.</param> /// <returns></returns> public static string ToHTMLColor(HSBColor hsbColor) { return(ToHTMLColor(HSBColor.FromHSB(hsbColor))); }
/// <summary> /// Toes the color. /// </summary> /// <param name="hsbColor">Color of the HSB.</param> /// <returns></returns> public static Color ToColor(HSBColor hsbColor) { return(hsbColor.Color); }
public static Color FromHSB(HSBColor hsbColor) { return(FromHSB(hsbColor.h, hsbColor.s, hsbColor.b)); }