.COLOR SET COLOR
This subroutine is called to set a color (RGB) into the "current" color spec.
A single parameter is passed and may be in any one of the following formats:
- html format: #rrggbb or rrggbb (alpha value is assumed to be Opaque)
- html format: #rrggbbaa or rrggbbaa (note: aa=00 for Transparent, aa=ff for Opaque)
- Chart Director Format: 0xaarrggbb (note: aa=ff for Transparent, aa=00 for Opaque)
- List of valid colors: red, green, blue, magenta, etc
- initially, allow 16 basic colors
- All mixture of case allowed (convert to lowercase to validate color name)
Note that hex digits may be 0-9, a-f, A-F
--
SteveFrizzell - 2010-02-22