Java Color Create colorWithARGB(int alpha, int red, int green, int blue)

Here you can find the source of colorWithARGB(int alpha, int red, int green, int blue)

Description

color With ARGB

License

Open Source License

Declaration

public static int colorWithARGB(int alpha, int red, int green, int blue) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int colorWithARGB(int alpha, int red, int green, int blue) {
        return (alpha << 24) | (red << 16) | (green << 8) | blue;
    }// w ww  . j a v a 2 s .  c  o  m
}

Related

  1. color(String s)
  2. colorFromRGB(int r, int g, int b)
  3. colorFromRGB(int red, int green, int blue)
  4. colorFromRGBA(int red, int green, int blue, int alpha)
  5. colorFromString(String string)
  6. colorWithIntAndAlpha(int color, int alpha)
  7. generateBlankImage(int w, int h, Color col)
  8. generateColor(int fc, int bc)
  9. generateColorFromString(String seed)