public class NamedColor extends Object
public String m_name
public Color m_col
public NamedColor(String n, int r, int g, int b)
n
- The name of the color.r
- The red component of the color.g
- The green component of the color.b
- The blue component of the color.Copyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.