public abstract class Color extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Color.Solarized |
| Modifier and Type | Field and Description |
|---|---|
static int |
BLACK |
static int |
BLUE |
static int |
DARK_GRAY |
static int |
GRAY |
static int |
GREEN |
static int |
GREY |
static int |
RED |
static int |
WHITE |
static int |
YELLOW |
| Constructor and Description |
|---|
Color() |
| Modifier and Type | Method and Description |
|---|---|
static int |
alpha(int color,
int a) |
static int |
darken(double factor,
int color) |
static int |
fromHSL(double hueDegrees,
double s,
double l) |
static int |
fromRGB(int r,
int g,
int b) |
static int |
fromRGBA(int red,
int green,
int blue,
int alpha) |
static int |
fromWA(double white,
double alpha) |
static int |
getAlpha(int color) |
static int |
getBlue(int color) |
static int |
getGreen(int color) |
static int |
getRed(int color) |
static int |
getValue(int color) |
public static final int BLACK
public static final int BLUE
public static final int GREEN
public static final int GRAY
public static final int GREY
public static final int RED
public static final int WHITE
public static final int YELLOW
public static final int DARK_GRAY
public static int getAlpha(int color)
public static int getRed(int color)
public static int getGreen(int color)
public static int getBlue(int color)
public static int getValue(int color)
public static int darken(double factor,
int color)
public static int fromRGB(int r,
int g,
int b)
public static int alpha(int color,
int a)
public static int fromHSL(double hueDegrees,
double s,
double l)
public static int fromWA(double white,
double alpha)
public static int fromRGBA(int red,
int green,
int blue,
int alpha)
Copyright © 2013. All Rights Reserved.