I am trying to find the average colour in a picture, and convert the colours to HSB.
I am using a bufferedImage and the list function, and I have found the colours red, green and blue in each pixel.
Can anyone give me some tips on how to convert to HSB in java? :)