fromArgb

public final static Color fromArgb(int alpha, int red, int green, int blue)

Creates a Color from ARGB components.

Return

A new Color instance.

Parameters

alpha

Alpha component (0-255).

red

Red component (0-255).

green

Green component (0-255).

blue

Blue component (0-255).