Created
December 29, 2011 07:40
-
-
Save zml2008/1532677 to your computer and use it in GitHub Desktop.
How to remember
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace color macros in a string. The macros are in the form of `[char] | |
* where char represents the color. R is for red, Y is for yellow, | |
* G is for green, C is for cyan, B is for blue, and P is for purple. | |
* The uppercase versions of those are the darker shades, while the | |
* lowercase versions are the lighter shades. For white, it's 'w', and | |
* 0-2 are black, dark grey, and grey, respectively. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment