This repository was archived by the owner on Jun 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Text Coloring
Jeaye edited this page Aug 17, 2013
·
6 revisions
Q^3's text coloring is a per-line state machine; once a color is set, the remaining text on that line will continue to be that color unless another color is set. To set colors, simply use a backslash and then the color id. For example, this input will show up as (note that saying \12 \13 \14
will just result in \14
being used):
\1This \2is \3a \4colorful \sentence. \15More \0and \11more \12 \13 \14 colors...
For a table of all supported colors, see the below reference. Note that, when entering these colors into the console, you will not visibly see the color change (or any changes) until you start typing the text you actually want colored. Furthermore, the color state is remembered within the console line, so to remove a color setting, you must either submit the line or backspace over the color command(s).
Example | Name | Value | Alias |
---|---|---|---|
Black | (0,0,0) | \0 | |
White | (255,255,255) | \1 | |
Red | (255,0,0) | \2 | |
Lime | (0,255,0) | \3 | |
Blue | (0,0,255) | \4 | |
Yellow | (255,255,0) | \5 | |
Cyan | (0,255,255) | \6 | |
Magenta | (255,0,255) | \7 | |
Silver | (192,192,192) | \8 | |
Gray | (128,128,128) | \9 | |
Maroon | (128,0,0) | \10 | |
Olive | (128,128,0) | \11 | |
Green | (0,128,0) | \12 | |
Purple | (128,0,128) | \13 | |
Teal | (0,128,128) | \14 | |
Navy | (0,0,128) | \15 |