Esempio n. 1
0
 /// <summary>
 /// Returns the right triad of the color.
 /// </summary>
 public static Color GetRightTriad(this Color color)
 {
     return color.ChangeHue(-120);
 }
Esempio n. 2
0
 public static Color GetRightSplitComplement(this Color color)
 {
     return color.ChangeHue(-150);
 }
Esempio n. 3
0
 public static Color GetLeftTriad(this Color color)
 {
     return color.ChangeHue(120);
 }
Esempio n. 4
0
 /// <summary>
 /// Retrieves the right analogous color.
 /// </summary>
 public static Color GetRightAnalogous(this Color color)
 {
     return color.ChangeHue(30);
 }
Esempio n. 5
0
 /// <summary>
 /// Retrieves the complement of the inputted color.
 /// (The complement is the exact opposite of a color)
 /// </summary>
 public static Color GetComplement(this Color color)
 {
     return color.ChangeHue(180);
 }