RandomKolor
RandomKolor copied to clipboard
better hsv to rgb maybe.
I have found a better way to convert the color from hsv to rgb.maybe.
in the method setFormat, it call the HSVtoRGB method to convert to rgb. then I get a method from android.graphics.color that names Color.HSVToColor()
then I try to use the method to calculate the color. and it turn out to be the same result :
the test code:
the test result pick one:

so I think we should use the method from android.graphics.color priority