links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 4:50 pm UTC on 16 January 2006
Color is a subclass of Object

Some colors are predefined, for example:

 Color red
Interesting methods include:

The following code produces a list of the predefined colors:

(Color class organization listAtCategoryNamed: 'named colors') 
   asSortedCollection do: 
   [ :colorName | Transcript show: '- ', colorName  ; cr]

(Squeak 3.3a-4769)

Hannes Hirzel, February 2002