Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 color help in turing
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SteveO




PostPosted: Sun Feb 08, 2004 12:06 am   Post subject: color help in turing

can some one tell me all the color codes for turing thx a lot
Sponsor
Sponsor
Sponsor
sponsor
.hack




PostPosted: Sun Feb 08, 2004 12:10 am   Post subject: (No subject)

Color codes for what?

Text, background,lines,dashed lines? there are tons!

(I think it uses RGB, but as far as the coding to enable colored text, no clue.)
TheXploder




PostPosted: Sun Feb 08, 2004 12:11 am   Post subject: (No subject)

here is a program that views them all:

code:

for i : 1 .. 255
    colourback (i)
    put "Colour ", i
end for
shorthair




PostPosted: Sun Feb 08, 2004 10:14 am   Post subject: (No subject)

you will find taht in turing uless your a perfectionist , that anything over 60 is not needed , or even lower mabye , the grayscale is pretty cool though , becuase you can do fade outs which make titles look real good
Cervantes




PostPosted: Sun Feb 08, 2004 10:21 am   Post subject: (No subject)

sorry xploder but your program is insufficient Razz
just doing that makes it hard to know what colour to use if you want to use it as a background colour. that's why I made this.

code:
var win_start : int
var TYPE : string (1)
var col : int := 1
win_start := Window.Open ("position:top;left,graphics:300;100")
put "Enter type of style to view colours"
put "(background / b or writing / w) : " ..
getch (TYPE)
Window.Close (win_start)
if TYPE = "b" or TYPE = "B" then
    var win_back : int := Window.Open ("position:top;left,graphics:max;4120,title:Background")
    for i : 0 .. 255
        colourback (i)
        put " Hello ", i
    end for
elsif TYPE = "w" or TYPE = "W" then
    var win_write : int := Window.Open ("position:top;left,graphics:max;4120,title:Writing")
    for ib : 0 .. 255
        colourback (0)
        colour (ib)
        put " HELLO EVERYBODY!!!  MORE CHARACTERS WAHOO!!!!!!", ib
    end for
end if
shorthair




PostPosted: Sun Feb 08, 2004 10:23 am   Post subject: (No subject)

thats a good one , but im sure htere is a RGB color chart around somewhere on the net , that shows the number and the color
.hack




PostPosted: Sun Feb 08, 2004 12:47 pm   Post subject: (No subject)

I fyou have a proggy liek Photoshop when u choose a color, a palette comes up where ther eis every shade possible under the sun, jsut look at wat color u want and grab the RGB code which it gives.
Delos




PostPosted: Sun Feb 08, 2004 1:04 pm   Post subject: (No subject)

This is all well and good, being able to identify 'every single colour under the sun' (with the mathamatical limitations of RGB of course!), but let's not lose sight of the fact that Turing can only support up to 1024 colours at a time...so, your pictures wouldn't really have all of the afore mentioned colours.
Sponsor
Sponsor
Sponsor
sponsor
recneps




PostPosted: Sun Feb 08, 2004 1:08 pm   Post subject: (No subject)

Basicly, when starting out, use 16 colours ("graphics:v16") and they are listed on first page of Turing Help i believe. And please make topics title's specific. not "Help with Turing."
Paul




PostPosted: Sun Feb 08, 2004 8:34 pm   Post subject: (No subject)

TheXploder wrote:
here is a program that views them all:

code:

for i : 1 .. 255
    colourback (i)
    put "Colour ", i
end for

With that you won't be able to scroll up to see.
Cervantes, how did you get yours to scroll?
recneps




PostPosted: Mon Feb 09, 2004 3:48 pm   Post subject: (No subject)

(im gonna lose bits for this, but it needs to be said)Guys, when someone asks a simple question, why do you all need to make mini programs, then the other tries to out do the last one, and it repeats until there are 50 diff programs, and the person who asks the question really didnt get it answered!
Cervantes




PostPosted: Mon Feb 09, 2004 5:38 pm   Post subject: (No subject)

actually spencer Xploder answered his question at the very beginning. The thread can go off on any direction now and his question is still answered. If SteveO doesn't understand he can ask for clarification.

quote="Paul Bian"]
TheXploder wrote:
here is a program that views them all:

code:

for i : 1 .. 255
    colourback (i)
    put "Colour ", i
end for

With that you won't be able to scroll up to see.
Cervantes, how did you get yours to scroll?[/quote]

Well Paul, if you notice in my program the

code:
("position:top;left,graphics:max;4120,title:Background")


now lets zoom in some more.

code:
graphics:max;4120


now zoom in slightly more

code:
4120


Wink
AsianSensation




PostPosted: Mon Feb 09, 2004 9:20 pm   Post subject: (No subject)

recneps wrote:
(im gonna lose bits for this, but it needs to be said)Guys, when someone asks a simple question, why do you all need to make mini programs, then the other tries to out do the last one, and it repeats until there are 50 diff programs, and the person who asks the question really didnt get it answered!


your not losing bit for this. In fact, it's probably better for people to try to out do each other by coming up with better programs. that's how I made my snow thingie, it was a s spur of the moment thing. And if someone made a cool program, or had a cool technique to solving some type of problem, I would award bits.

But as you probably brought up, do answer the question first before you compete, it's only polite to answer someone's question before you go and do something else on your own.
Andy




PostPosted: Mon Feb 09, 2004 9:20 pm   Post subject: (No subject)

lol i remember that guy asked for the rain program... juss melt the snow Laughing Laughing Laughing Laughing Laughing Laughing
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 14 Posts ]
Jump to:   


Style:  
Search: