View Single Post
  #2 (permalink)  
Old 07-05-2007, 07:43 AM
Albert Albert is offline
Senior Member
 
Join Date: Jun 2007
Posts: 114
Albert is on a distinguished road
Founded the solution over here

The code I have at the moment, to achieve that in Java:
Code:
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
Reply With Quote