code: public static Color colorWithAlpha( Color color, int alpha ) {
          return new Color(color.getRed(), color.getGreen(), color.getBlue(), alpha);
      }
docs: Creates a color with the given alpha.
  
  @param color the color to use.
  @param alpha an alpha value between 0 and 255.
  @return the color with alpha.