.. A7: Alien Invaders

Class RGB
============
This class represents a RGB color value.

Constructor
-----------
.. module:: cornell.colors.models
.. autoclass:: RGB
	
Attributes
----------

.. autoattribute:: RGB.red
.. autoattribute:: RGB.green
.. autoattribute:: RGB.blue
.. autoattribute:: RGB.alpha

Methods
-------

.. automethod:: RGB.glColor
.. automethod:: RGB.tkColor

Class Methods
-------------
Class methods are methods that are called with the class name before the period, instead
of an object.  They provide alternate constructors.

.. automethod:: RGB.CreateName
.. automethod:: RGB.CreateWebColor

:ref:`Return to top level <top-label>`