This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Ducklet's profile picture

How do you use different colors in CC?

Started by Ducklet, 21 January 2013 - 06:12 AM
Ducklet #1
Posted 21 January 2013 - 07:12 AM
I've seen various colors used in screensavers and such and I was wondering how to do that myself.. any links or help is appreciated. thanks
ikke009 #2
Posted 21 January 2013 - 07:44 AM
Clicklinkthingy
term.setBackgroundcolour() works the same
Ducklet #3
Posted 21 January 2013 - 07:54 AM
Clicklinkthingy
term.setBackgroundcolour() works the same

doesn't work in tekkit does it? lol
Willibilly19 #4
Posted 21 January 2013 - 08:10 AM
No, it requires advanced monitors and from what I've seen, Tekkit isn't updated that much.
Zambonie #5
Posted 21 January 2013 - 12:53 PM
Example:
term.setBackroundColor(colors.blue) --this makes the background of the computer blue.you could also use other colors[\CODE]
You could also be sent it with the Text.just change backroung to TeXt.
Excuse my righting I'm on a tablet .... :P/>
Shnupbups #6
Posted 21 January 2013 - 01:04 PM
You can use advanced computers and advanced monitors in ComputerCraft 1.45 and above. This means that you can use colour in Tekkit Lite, but not Tekkit Classic. But you require a golden (advanced) computer to do so. Then use:

term.setTextColour(colours.red)
OR

term.setTextColor(colors.red)
But you can replace red with any colour. Then print/write something and it will be in that colour. Also,

term.setBackgroundColour(colours.red)
OR

term.setBackgroundColor(colors.red)
sets the background, but you have to clear the screen with term.clear() or write/print something in order for it to activate.