I do not know whether Color.RGBtoHSB(r, g, b, hsb) function normalize the r,g,b before converting it to H,S,B or where i can get the java implementation of their built in functions.
I do not know whether Color.RGBtoHSB(r, g, b, hsb) function normalize the r,g,b before
Share
Here is the implementation, from Color class source code directly: