@ SuppressWarnings ( { "checkstyle:magicnumber" , "static-method" } ) @ Pure public Color rgb ( int color ) { final int red = ( color & 0x00FF0000 ) >> 16 ; final int green = ( color & 0x0000FF00 ) >> 8 ; final int blue = color & 0x000000FF ; return Color . rgb ( red , green , blue ) ; }
Parse the given RGB color .