158
168
return System.Math.Sqrt (r * .241 + g * .691 + b * .068);
171
public static List<HslColor> GenerateHighlightColors (HslColor backGround, HslColor foreGround, int n)
161
194
public override string ToString ()
163
196
return string.Format ("[HslColor: H={0}, S={1}, L={2}]", H, S, L);