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

Username:   Password: 
 RegisterRegister   
 Different colours...
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Mike Pastah




PostPosted: Fri Nov 08, 2002 4:48 am   Post subject: Different colours...

Im a newb to Turing, just started this year in class, but I want to know how I can make different colours besides the usual 15... I need a skin tone colour... any help? Very Happy
Sponsor
Sponsor
Sponsor
sponsor
WooFerPPK




PostPosted: Fri Nov 08, 2002 5:02 am   Post subject: (No subject)

i use a program i made to find out what number a color is

code:
var add1 : int := 0


for colorss : 1 .. 255
    add1 := add1 + 1
    locate (1, 1)
    color (white)
    colorback (add1)
    cls
    put add1
    locate (2, 1)
    color (black)
    put add1
    delay (500)
end for


very simple all it does is show u the number and switches the background color, use the pause button to stop at a color. if its to fast for you change the delay time.
Mike Pastah




PostPosted: Fri Nov 08, 2002 5:09 am   Post subject: (No subject)

My teacher said there was only 16 colours... i'll never believe her lies again! Confused
WooFerPPK




PostPosted: Fri Nov 08, 2002 5:39 am   Post subject: (No subject)

lol, its to keep it simple, 1-16 is the basic colors ur going to be using.
Mike Pastah




PostPosted: Fri Nov 08, 2002 9:22 pm   Post subject: (No subject)

i see, well i guess I can forgive her this once.. lol Confused
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  [ 5 Posts ]
Jump to:   


Style:  
Search: