Example #1
0
 public static IEnumerable <Color> GetShades(this Color color, int count = 10)
 {
     return(ColorHelper.GetShades(color.ToRGB()).Select(x => x.ToColor()));
 }
Example #2
0
 public static Color GetContrast(this Color color)
 {
     return(ColorHelper.GetContrast(color.ToRGB()).ToColor());
 }
Example #3
0
 public static IEnumerable <Color> GetTetradics(this Color color)
 {
     return(ColorHelper.GetTetradics(color.ToRGB()).Select(x => x.ToColor()));
 }
Example #4
0
 public static Color GetComplimentary(this Color color)
 {
     return(ColorHelper.GetComplimentary(color.ToRGB()).ToColor());
 }
Example #5
0
 public static ColorHelper.CMYK ToCMYK(this Color color)
 {
     return(ColorHelper.RGB2CMYK(color.ToRGB()));
 }
Example #6
0
 public static ColorHelper.HSV ToHSV(this Color color)
 {
     return(ColorHelper.RGB2HSV(color.ToRGB()));
 }