public static HSV ColorToHSV(Color color) { return ColorToHSV (color.R, color.G, color.B, color.GetHue ()); }
// Adjust the saturation and value of a color keeping the hue intact private static Color adjustColor(Color color, float[] satVal) { return Color.HSVToColor( new float[] {color.GetHue(), satVal[0], satVal[1]} ); }