PDA

View Full Version : Color Palette



hippy
09-15-2007, 09:08 PM
To save re-inventing the wheel ( and the long, laborious task of trying all combinations ), does anyone have a list of color values for use with TV.spin ?

I've found a few from various .spin example objects, but it's far from a complete list.

deSilva
09-15-2007, 09:33 PM
There is this well known list from André's Hydra book:



0 Blue
01
02 Purple
03 Magenta
04
05 Red
06 Orange
07 Brown
08 Yellow
09 Yellow-Green
10 Green
11
12
13 Cyan
14
15


They go with the 5 luma values 2, 3, 4, 5, 6 giving 80 possible colours.

I do not find the program text at the moment where I displayed those colours... But it should take no one longer than 12 minutes to write it himself..

hippy
09-15-2007, 11:19 PM
@ deSilva : Thanks.

deSilva
09-16-2007, 03:49 PM
It was only "half of the truth" http://forums.parallax.com/images/smilies/smile.gif -> http://forums.parallax.com/showthread.php?p=675823

Paul Baker
09-18-2007, 02:42 AM
There is also Graphics_Palette.spin, you can name whatever you think the color is.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)

mpark
09-18-2007, 06:41 AM
Paul Baker (Parallax) said...
There is also Graphics_Palette.spin...
Where?

Paul Baker
09-18-2007, 07:45 AM
In the Tool's Examples\Library folder

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)

mpark
09-18-2007, 09:15 AM
Thanks!