Guide talk:Colors

Any more colors?

Deleting
Look, the Rewrite template wasn't aimed at deleting this page. It's just a little rough around the edges and needs tidying up. iLiaWneK'''|talk|contributions]] 21:25, 21 October 2011 (UTC)

Ok. Im pretty young and this is my first page.
 * Just try to use the Preview function whenever possible. iLiaWneK'''|talk|contributions]] 11:29, 22 October 2011 (UTC)

Ok. Sorry. I'm telling you I'm under the age of 11.

yellow, orange etc
What is the point of adding that? How it can be useful? -- gamecreator (T|C) -- 16:11, 22 October 2011 (UTC)
 * I would like to know why as well. iLiaWneK'''|talk|contributions]] 16:41, 22 October 2011 (UTC)

IDK. I can remove it if you want. I did it for the fun of it.
 * Articles should really be written to help others, not "for the fun of it". iLiaWneK'''|talk|contributions]] 20:20, 23 October 2011 (UTC)

Okay ill fix it

Color Chart
While redundant (considering the number of websites detailing sample color codes for HTML/CSS), I wouldn't say this page is useless. Certain color choices in Terraria have constraints, for example you can't have absolute black (#000000) as a color for, say, skin. Similarly there may be other limits to choosing colors for other things because there are certain limits which the game imposes. Also, most websites give the color codes in hex whereas the game expects the user to enter an integer number.

Having said that, it would certainly be easier to search for a particular hue if samples were included - however it would be cumbersome to include a comprehensive color chart here. I have found the following page ("CSS Color Chart") somewhat useful: - http://www.somacon.com/p142.php

Do note that the colors are defined according to the usual HTML/CSS tradition of using hex codes, i.e. in the order of Red, Green, and Blue. E.g. search the page for "chocolate" and you will find it's color code is "#D2691E". In order to convert this into Terraria-usable numbers, separate the hex codes for each color and then convert them to integers.

Given "#D2691E", the values for Red, Green, and Blue respectively are:

Red: D2 --> 210

Green: 69 --> 105

Blue: 1E --> 30

To convert the hex pair into a number simply use the Calculator program which comes with Windows. Set it to View -> Programmer mode (alt+3), and click the "Hex" radio button. For red, type 'D2' in the calculator, then click the "Dec" radio button. It will automatically convert the hex value you entered ('D2') into decimal ('210'). Repeat for the other two colors. Now that you have the numbers you can plug them into the game.

Have fun! - Spinfx 09:15, 21 December 2011 (UTC)