Founded the solution over
here
The code I have at the moment, to achieve that in Java:
float[] colorHSB = color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null);
colorHSB[1] += 0,5;
if(colorHSB[1] > 1) {
colorHSB[1] -= 1;
}
at the moment this gives an error at:
colorHSB[1] += 0,5;
Greetings
Albert