Simple Color Help
Author |
Message |
TheLastFall
|
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. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
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
|
|
|
|
|
|
|
TheLastFall
|
Posted: Sat Oct 14, 2006 6:24 pm Post subject: (No subject) |
|
|
Thanks this is much appreciated. |
|
|
|
|
|
Flikerator
|
Posted: Sat Oct 14, 2006 6:32 pm Post subject: (No subject) |
|
|
No problem. |
|
|
|
|
|
Tony
|
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. |
|
|
|
|
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 |
|
|
|
|
|
Tony
|
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. |
|
|
|
|
|
|