The Color Class
Color c = new Color(r, g, b);
r, g, and b specify a color by its red, green, and blue components.
Example:
Color c = new Color(128, 100, 100);
Previous slide
Next slide
Back to first slide
View graphic version