Creates an opaque sRGB color with the specified combined RGB value consisting of the red component in bits 16-23, the green component in bits 8-15, and the blue component in bits 0-7. The actual color used in rendering depends on finding the best match given the color space available for a particular output device. Alpha is defaulted to 255.
rgb | the combined RGB components |
java.awt.image.ColorModel.getRGBdefault, getRed, getGreen, getBlue, getRGB
Diagram: Paint