Simple Color Help
Author |
Message |
TheLastFall
![](http://myspace-484.vo.llnwd.net/01165/48/48/1165418484_m.jpg)
|
Posted: Sat Oct 14, 2006 6:04 pm Post subject: Simple Color Help |
|
|
I just need some simple color help. I need to know what 0 - 255 is, I know its a really stupid question but I have no clue. All I know is the 0 is white, 42 is orange, 103 is a light blue and 255 is black. All I need to know it what 0 to 255, I'm pretty sure people will post replys to how stupid I am, just so you know I already know how stupid I am . I know there is a code that will tell me, just I have no clue how to find it. Help would be appreciated. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Flikerator
|
Posted: Sat Oct 14, 2006 6:22 pm Post subject: (No subject) |
|
|
code: |
for i : 1 .. 255
color (i)
put "[", i:3, "]" ..
end for
|
|
|
|
|
|
![](images/spacer.gif) |
TheLastFall
![](http://myspace-484.vo.llnwd.net/01165/48/48/1165418484_m.jpg)
|
Posted: Sat Oct 14, 2006 6:24 pm Post subject: (No subject) |
|
|
Thanks this is much appreciated. |
|
|
|
|
![](images/spacer.gif) |
Flikerator
|
Posted: Sat Oct 14, 2006 6:32 pm Post subject: (No subject) |
|
|
No problem. |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Sat Oct 14, 2006 6:40 pm Post subject: (No subject) |
|
|
it makes so much more sense to use
code: |
Draw.FillBox(100,100,200,200,blue)
|
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
Flikerator
|
Posted: Sat Oct 14, 2006 6:44 pm Post subject: (No subject) |
|
|
Tony wrote: it makes so much more sense to use
code: |
Draw.FillBox(100,100,200,200,blue)
|
More sense then what ![Confused Confused](http://compsci.ca/v3/images/smiles/icon_confused.gif) |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Sat Oct 14, 2006 7:47 pm Post subject: (No subject) |
|
|
using predefined constants: red, blue, white, black, etc to describe colours, rather than an obscure shade #123.
The only good use I found for the numbered colours was the grey scale found around the #30. Otherwise you might as well just load images or use the RGB module to get the shades you want. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
|
|