ecologylab.generic
Interface Colors


public interface Colors

Constants for RGB/Alpha and HSV color space operations.


Field Summary
static int ALPHA
           
static int B
           
static float BLUE
          would be 240 degrees, but we've cheated down toward cyan a bit for legibility.
static float BLUE_MAGENTA
           
static float CYAN
           
static int G
           
static float GREEN
          would be 120 degrees, but we've cheated up toward cyan a bit for harmony.
static int HUE
           
static float MAGENTA
           
static float ORANGE
           
static float PURPLE
           
static int R
           
static float RED
           
static float RED_MAGENTA
           
static float RED_ORANGE
           
static int RGB
           
static int SAT
           
static int VAL
           
static float YELLOW
           
static float YELLOW_GREEN
           
static float YELLOW_ORANGE
           
 

Field Detail

HUE

static final int HUE
See Also:
Constant Field Values

SAT

static final int SAT
See Also:
Constant Field Values

VAL

static final int VAL
See Also:
Constant Field Values

ALPHA

static final int ALPHA
See Also:
Constant Field Values

RGB

static final int RGB
See Also:
Constant Field Values

R

static final int R
See Also:
Constant Field Values

G

static final int G
See Also:
Constant Field Values

B

static final int B
See Also:
Constant Field Values

YELLOW

static final float YELLOW
See Also:
Constant Field Values

RED

static final float RED
See Also:
Constant Field Values

GREEN

static final float GREEN
would be 120 degrees, but we've cheated up toward cyan a bit for harmony.

See Also:
Constant Field Values

ORANGE

static final float ORANGE
See Also:
Constant Field Values

MAGENTA

static final float MAGENTA
See Also:
Constant Field Values

PURPLE

static final float PURPLE
See Also:
Constant Field Values

BLUE

static final float BLUE
would be 240 degrees, but we've cheated down toward cyan a bit for legibility.

See Also:
Constant Field Values

YELLOW_GREEN

static final float YELLOW_GREEN
See Also:
Constant Field Values

RED_ORANGE

static final float RED_ORANGE
See Also:
Constant Field Values

BLUE_MAGENTA

static final float BLUE_MAGENTA
See Also:
Constant Field Values

CYAN

static final float CYAN
See Also:
Constant Field Values

YELLOW_ORANGE

static final float YELLOW_ORANGE
See Also:
Constant Field Values

RED_MAGENTA

static final float RED_MAGENTA
See Also:
Constant Field Values