public static final String toBrowserRGBA ( final int r , final int g , final int b , final double a ) { return "rgba(" + fixRGB ( r ) + "," + fixRGB ( g ) + "," + fixRGB ( g ) + "," + fixAlpha ( a ) + ")" ; }
Converts RGBA values to a browser - compliance rgba format .