Esempio n. 1
0
 /// <summary>
 /// 補色を返す(彩度と明度はMAX)
 /// </summary>
 /// <param name="c">色データ</param>
 /// <returns>色データ</returns>
 public static Color GetComplementaryColor(Color c)
 {
     return(ColorUtil.FromHSB(c.GetHue() + (ColorUtil.HMAX / 2.0F), ColorUtil.SMAX, ColorUtil.BMAX));
 }