diff --git a/docs/formats.txt b/docs/formats.txt index cda7d422..2980eb1f 100644 --- a/docs/formats.txt +++ b/docs/formats.txt @@ -23,4 +23,38 @@ MIRC colors that you can use when writing text to channel and with hilighting text: - FIXME: list them :) + foreground background + ------------------------------------------------------- + 0 white black + 1 ligh gray --- + 2 blue blue + 3 green green + 4 light red --- + 5 orange orange + 6 magenta (purple) magenta + 7 red red + 8 yellow --- + 9 light green --- + 10 cyan cyan + 11 light cyan --- + 12 light blue --- + 13 light magenta --- + 14 gray black on black + 15 light gray black on black + gray on light gray (with bold) + + These colors may differ depending on your terminal. + + How to use these colors ('#' means a number as color code): + + -b set bold + -c#[,#] set foreground and optionally background color + -o reset all formats to plain text + -v set inverted color mode + -_ set underline + -7 same as -_ + + To reset a mode set it again, f.e. + -c3-vFOO-vBAR + creates black on green FOO followed by a green on black BAR +