java programming

Color Class in Java

Color 

It is a standard inbuilt class present in java out package it is used to create color code by using three color code component following are the color constant of color class declared as final an static.

1.   RED

2.   GREEN

3.   BLUE

4.   YELLOW

5.   MAGENTA

6.   CYAN

7.   BLACK

8.   WHITE

  1. LIGHT GRAY
  2. DARK GRAY

 

Conservator Of Color Class :-

Color class contains parametrized conservator which contain three parameter red

Green and blue. The value for parameter always various form 0 to 255.

Leave a Reply

Your email address will not be published. Required fields are marked *