/// <summary> /// Copy a Swatch's hsl values into a new float[]. /// </summary> private static float[] CopyhslValues(Swatch color) { float[] newHsl = new float[3]; Array.Copy(color.GetHsl(), 0, newHsl, 0, 3); return(newHsl); }
private bool ShouldIgnoreColor(Swatch color) { return(ShouldIgnoreColor(color.GetArgb(), color.GetHsl())); }