My favorites | Sign in
xsw
Project Home Downloads Wiki Issues Source
Search
for
Colors  
How to use colors in xsw.
Phase-Support
Updated Feb 4, 2010 by andre....@gmail.com

Introduction

Colors can be referred to in two ways: by their code or by their name.

By code

Colors can be referred by code, such as this: $FF00FF (this is pink). It's just like the HTML color standard, except that it uses the character $ instead of #.

By name

Colors can by used by name, using the colors defined in the file /usr/share/X11/rgb.txt. Examples: green, black, snow, LemonChiffon, LavenderBlush, DeepPink2, grey68, etc...

Here are two color lists, for reference:


Sign in to add a comment
Powered by Google Project Hosting