code: 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) + ")";
      }
docs: Converts RGBA values to a browser-compliance rgba format.
  
  @param r int between 0 and 255
  @param g int between 0 and 255
  @param b int between 0 and 255
  @param b double between 0 and 1
  @return String e.g. "rgba(12,34,255,0.5)"