Class java.awt.Color (1.0)


public class Color extends Object implements Serializable {
  // Public Constructors
    public Color(int r, int g, int b);
    public Color(int rgb);
    public Color(float r, float g, float b);
  // Constants
    public final static Color black;
    public final static Color blue;
    public final static Color cyan;
    public final static Color darkGray;
    public final static Color gray;
    public final static Color green;
    public final static Color lightGray;
    public final static Color magenta;
    public final static Color orange;
    public final static Color pink;
    public final static Color red;
    public final static Color white;
    public final static Color yellow;
  // Class Methods
    public static int HSBtoRGB(float hue, float saturation, float brightness);
    public static float[ ] RGBtoHSB(int r, int g, int b, float[ ] hsbvals);
    public static Color decode(String nm) throws NumberFormatException;
    public static Color getColor(String nm);
    public static Color getColor(String nm, Color v);
    public static Color getColor(String nm, int v);
    public static Color getHSBColor(float h, float s, float b);
  // Public Instance Methods
    public Color brighter( );
    public Color darker( );
    public boolean equals(Object obj);  // Overrides Object.equals( )
    public int getBlue( );
    public int getGreen( );
    public int getRGB( );
    public int getRed( );
    public int hashCode( );  // Overrides Object.hashCode( )
    public String toString( );  // Overrides Object.toString( )
}