# Class ColorUtil

java.lang.Object
com.codename1.charts.util.ColorUtil

public abstract class ColorUtil extends java.lang.Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `BLACK`
  `static final int`
  `BLUE`
  `static final int`
  `CYAN`
  `static final int`
  `GRAY`
  `static final int`
  `GREEN`
  `static final int`
  `LTGRAY`
  `static final int`
  `MAGENTA`
  `static final int`
  `WHITE`
  `static final int`
  `YELLOW`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ColorUtil()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static int`
  `alpha(int c)`
  `static int`
  `argb(int a, int r, int g, int b)`
  `static int`
  `blue(int c)`
  `static int`
  `green(int c)`
  `static int`
  `red(int c)`
  `static int`
  `rgb(int r, int g, int b)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### LTGRAY

    public static final int LTGRAY

  - ### BLUE

    public static final int BLUE

  - ### BLACK

    public static final int BLACK

  - ### WHITE

    public static final int WHITE

  - ### CYAN

    public static final int CYAN

  - ### GREEN

    public static final int GREEN

  - ### YELLOW

    public static final int YELLOW

  - ### MAGENTA

    public static final int MAGENTA

  - ### GRAY

    public static final int GRAY

- ## Constructor Details

  - ### ColorUtil

    public ColorUtil()

- ## Method Details

  - ### argb

    public static int argb(int a, int r, int g, int b)

  - ### alpha

    public static int alpha(int c)

  - ### red

    public static int red(int c)

  - ### green

    public static int green(int c)

  - ### blue

    public static int blue(int c)

  - ### rgb

    public static int rgb(int r, int g, int b)