utilities
Class ColorChanger
java.lang.Object
utilities.ColorChanger
public class ColorChanger
- extends Object
A Class that is used for creating a new Color based on another one.
- Author:
- Ben Robboy, Michael M Kozelsky
Created on: Oct 12, 2006
ColorChanger
public ColorChanger()
darken
public static Color darken(Color c)
- Gradually darkens a color. If called repeatedly
on the same color, it will eventually go to black.
Written by Ben Robboy.
- Parameters:
c
- a color to darken
- Returns:
- the color darkened slightly