aikar.co
Bash Colors for Minecraft Shell Scripts – Aikar's Thoughts
If you ever wanted to write scripts in Node.JS (or any JavaScript runtime) for Minecraft, one may be interested in the ability to convert the Minecraft Color Codes into their Bash Color Code versions. I have wrote a few methods (color map credit to mcrcon) that will help with outputting colored text using Minecraft color …