Colours available in the Colour class
Since Java is made by an American company there is a class for colours called
Color. It would be nice if there was a Canadian class also.
It would also be nice if there were more predefined colours. So I made a
class called Colour that can be used any where a Color can and
it has all the
standard predefined colours that are available using HTML. You can also use the
Canadian spelling of grey (as opposed to gray). Here are the colours
and their names.
You can download the Colour class from here. For an applet
to use it you need to have Colour.class in the same directory as your applet. If the
colours don't appear below your browser doesn't support Java 2. Go to the end of this
web page to see the colours as an image.