JXtension - Color.toGrayscale()

Purpose:
Give the user the ability to get the grayscale version of a specific color.

Returns:
Returns the grayscale version of the color as a new color.

Example #1:
The following code will create a random color in the left cell below the code.  After that, it will show the grayscale approximation in the cell to the right of it:

 

See also: