Method RGBtoHSB(int r, int g, int b, float[] hsbvals)
Return type: float
Member of: java.awt.Color
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 float[] hsv = Color.RGBtoHSB(input.getRed(), input.getGreen(), input.getBlue(), null);
2 hsb = Color.RGBtoHSB(r, g, b, hsb);
3 hsb = Color.RGBtoHSB(r, g, b, hsb);
4 Color.RGBtoHSB(
5 float [ ] hsb = Color.RGBtoHSB ( theColor.getRed ( ),
6 float[] hsv = Color.RGBtoHSB(input.getRed(), input.getGreen(), input.getBlue(), null);
7 float [ ] hsb = Color.RGBtoHSB (
8 float[] hsv=Color.RGBtoHSB(resourceColorF.getRed(),resourceColorF.getGreen(),resourceColorF.getBlue(),new float[3]);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.