示例#1
0
 /// <summary>
 /// Returns the right triad of the color.
 /// </summary>
 public static Color GetRightTriad(this Color color)
 {
     return color.ChangeHue(-120);
 }
示例#2
0
 public static Color GetRightSplitComplement(this Color color)
 {
     return color.ChangeHue(-150);
 }
示例#3
0
 public static Color GetLeftTriad(this Color color)
 {
     return color.ChangeHue(120);
 }
示例#4
0
 /// <summary>
 /// Retrieves the right analogous color.
 /// </summary>
 public static Color GetRightAnalogous(this Color color)
 {
     return color.ChangeHue(30);
 }
示例#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);
 }