WebGet Ruby Gem: Colorful
- Author
-
Joel Parker Henderson, [email protected]
- Copyright
-
Copyright © 2006-2010 Joel Parker Henderson
- License
-
CreativeCommons License, Non-commercial Share Alike
- License
-
LGPL, GNU Lesser General Public License
Color names and shades that generate simple random color names.
The typical usage is the method choice, which returns a string containing a random shade and color name.
Based on the NBS/ISCC Color System, The Universal Language of Color.
See www.anthus.com/Colors/NBS.html
Examples:
Colorful.choice => Light Red
Colorful.colors.choice => Red
Colorful.shades.choice => Light
Colors available:
Red, Orange, Yellow, Green, Blue, Indigo, Violet,
Cyan, Magenta, Pink, Purple, Brown,
Gold, Silver, Bronze, Copper, Platinum,
Aquamarine, Azure, Beige, Cerulean,
Chartreuse, Crimson, Fucshia, Khaki,
Maroon, Mauve, Scarlet, Sepia,
Sienna, Tan, Teal, and Turquoise
Shades:
Brilliant, Bright, Dark, Deep, Light, Moderate, Pale, Vivid