KaM Remake chat color markup
PostPosted: 17 Apr 2014, 14:19
Someone sent me a PM asking how the chat color markup works, so I thought I'd write a quick guide. For those of you who don't know you can make chat text colored by using markup:
The color code is kind of like in HTML but reversed. It has three sections: Blue, Green and Red:
BBGGRR
The each of these three codes are in hexadecimal (base 16, unlike base 10 which we usually use). In hexadecimal FF is the highest number you can represent with 2 digits (like our 99). So:
[$FF0000] is full blue
[$00FF00] is full green
[$0000FF] is full red
An easier way to pick a color is to use this website:
http://www.colorpicker.com/
But that site is for RRGGBB (we use BBGGRR), so you must swap the red and blue digits. For example if you chose the orange color E37512 from the site, to use that in the KaM Remake you swap the first 2 and last 2 digits which gives you: 1275E3.
[$123456] sets the color for text following it to the color code 123456 (I'll explain that in a moment), and [] resets the color back to default.
The color code is kind of like in HTML but reversed. It has three sections: Blue, Green and Red:
BBGGRR
The each of these three codes are in hexadecimal (base 16, unlike base 10 which we usually use). In hexadecimal FF is the highest number you can represent with 2 digits (like our 99). So:
[$FF0000] is full blue
[$00FF00] is full green
[$0000FF] is full red
An easier way to pick a color is to use this website:
http://www.colorpicker.com/
But that site is for RRGGBB (we use BBGGRR), so you must swap the red and blue digits. For example if you chose the orange color E37512 from the site, to use that in the KaM Remake you swap the first 2 and last 2 digits which gives you: 1275E3.