MF Lair

Hexadecimal Codes


Here is the shorthand explanation of it, after this there is a bit more of a detailed one.

# # # # # #
^ ^ ^ ^ ^ ^
red red green green blue blue
(#x16) + (#x1) (#x16) + (#x1) (#x16)+(#x1)


#=1,2,3,4,5,6,7,8,9,0,A,B,C,D,E,F

0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
A=10
B=11
C=12
D=13
E=14
F=15

example: FE3C6A= (240 red) + (14 red) + (48 green) + (12 green) + (96 blue) + (10 blue)= 254 red, 60 green, 106 blue

For a quicker reference, here are the values for each in the different positions.

In the first, third, anf fifth positions, the values are as follows:

0=0
1=16
2=32
3=48
4=64
5=80
6=96
7=112
8=128
9=144
A=160
B=176
C=192
D=208
E=224
F=240


In the second, fourth, and sixth positions, the values are as follows:

0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
A=10
B=11
C=12
D=13
E=14
F=15

Now for how to get the RBG values from that.

The first and second positions are for the red value.
The third and fourth positions are for the green value.
The fifth and sixth positions are for the blue value.


Now as for the format, you need a # in front of the code for it to work.

Basically, it is like this, #******, with the *s being the positions.


Now all you have to do is with each position, you need to do some subtraction, so lets say the red value was 103, so first is the multiple of sixteen, or the first position of that color, and the highest multiple of 16 under 103 is 96, so now do 103-96, and you get 7, and also don't forget how many times 16 goes into 96, which is 6 times, so, in the red section of the code, you have 6 in the first part, and then with the remainder of 7, you put it in the second red position, so, the two characters(or digits) that you put in the red section would be 67.

I hope this guide has helped you, now that you know how to choose any RBG value you want, you just need to know the RBG value you want to use.