Esempio n. 1
0
 /// <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));
 }
Esempio n. 2
0
 /// <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)));
 }