Hex Codes
Hex Codes tell Blockland what color you want your text to be. It consist of 6 or 8 letters or numbers
(Because Blockland normally uses the 6 character RRGGBB format, I will explain that one first.)
that relate to three colors, red, green, and blue. To fully understand it, it's good to know that these
colors are the primary colors of light, while red, yellow, and blue, are the primary colors of art.
To make yellow with light, you mix red and green. Knowing this may
help resort back to your comfortable set of the art primary's.
A Hex Code looks like this, "FFA500" this happens to be the Hex Code for Orange. The first two letters,
"FF" handles the color red. The third and fourth letters, "A5" handle green. The last couple of letters,
"00" handle blue.
A Hex Code uses numbers 0-9, and letters A-F*. To determine the color of a Hex Code, you must
understand it somewhat.
*-The letter "G" has been seen in very few Hex Codes. The letter "G" as being the value of 16
is considered a myth. No valid Hex Codes have been seen using the letter "G".
Here's the technical jargon, it's okay not to get it. First off, you must convert the decimal RGB value
to a hexadecimal. Converting a decimal RGB value to a hexadecimal value is fairly straightforward.
RGB values are usually given in the 0-255 range; if they are in the 0-1 range,
the values are multiplied by 255 before conversion.
This number divided by 16 (integer division; ignoring any remainder)
gives us the first hexadecimal digit (between 0 and F,
where the letters A to F represent the numbers 10 to 15.).
The remainder gives us the second hexadecimal digit.
For instance the RGB value 201 divides into 12 groups of 16,
thus the first digit is C. A remainder of 9 gives us the hexadecimal number C9.
This process is repeated for each of the three color values.
Most modern operating systems have a built-in calculator to perform
conversions between number bases and this can also
be done with some hand-held calculators.
Here's the non technical jargon. (This is completely inaccurate, but helps you understand.)
Think of the numbers 0-9. Now think of A-F being 10-15. Thus, you have 0-15.
To make a Hex Code in RRGGBB format, think of 00 being none, and 1515 being full.
To determine a value, use my method. A single digit number (0-9) controls 0-9. (Easy, right?)
A single digit in the ones place determines part the ones.
A single digit in the tens place determines part of the tens.
A double digit (A-F a.k.a. 10-15) in the ones place determines part of the ones, and part of the tens.
A double digit in the tens place determines part of the ones, and part of the tens.
Think of 00 Being, 0000. The first 00 as the tens, and the second 00 as the ones.
So, 91 = 91, 27=27, 32=32.
And, A0=100, 0A=010 (10), A5=105, 5A= 500
Therefore, AA= 1010, FF=1515, AB= 1011
If all else fails use a Hex Code Chart until you understand it.
Here is a list of some commonly used Hex Codes:
Black: 000000
Blue: 0000FF
Red: FF0000
Green: 00FF00
White: FFFFFF
Dull Green: 008000
Yellow: FFFF00
Purple: 800080
Orange: FFA500
Hot Pink: EEA2EE
Gold: FFD700
Silver: C0C0C0
Light Gray: A0A0A0
Gray: 808080
Dark Gray: 606060
Pink: FFC0CB
Magenta: FF00FF
Cyan: 00FFFF
There are an infinite combination of Hex Codes.
(Well, really there are 16,777,216, but seriously, who cares?)
Feel free to experiment with Hex Codes, search online for a Hex Code Chart, or use one of the charts
in the links provided.
To implement a Hex Code into a text, type "<color:xxxxxx>" before the text that you wish to color.
The "x"'s take the place of the letters and numbers of Hex Code.
For example:
<color:FFFFFF>Hi there.
This would display "Hi there" in a white text.
Here an example of a multi-colored text:
<color:FFFFFF>This is a print example by: <color:FFFF00>Boom <color:FFFFFF>.
This would display "This is a print example by: " in a white text, "Boom" in a yellow text,
and the "." in white.
Doing this would make "Boom" stand out. This can be used for color coding things.
While multi-colored text can look nice, over using it may lead to confusing the reader,
and a big mess. Be wise with your colors.
You can experiment with mixing and matching colors on your own.
Think of it as light, white light is all the colors combined right?
Therefore, FFFFFF results in white, and 000000 results in pitch black.
Hex Codes do not work if you type it in the Chat Box,
but does work if you use a ChatMessage(All) event.
Color Tester (Great Resource)
Color Table (Easy to use, Easy to Print)
Color Table 2 Color Table 3
Find more out at my eventing manual called the
BETC