Skip to content

Instantly share code, notes, and snippets.

@ion1
Created May 26, 2012 01:35
Show Gist options
  • Save ion1/2791653 to your computer and use it in GitHub Desktop.
Save ion1/2791653 to your computer and use it in GitHub Desktop.
IRC formatting characters

IRC formatting characters

\x02bold
\x03color (mIRC extension, followed by FG or FG,BG where FG and BG consist of one or two digits)
\x0freset (mIRC extension)
\x12reverse
\x1funderline

Obscure (used by which clients?)

\x11fixed
\x16reverse
\x1ditalic
00white
01black
02blue (navy)
03green
04red
05brown (maroon)
06purple
07orange (olive)
08yellow
09light green (lime)
10teal (a green/blue cyan)
11light cyan (cyan) (aqua)
12light blue (royal)
13pink (light purple) (fuchsia)
14grey
15light grey (silver)
@FiXato
Copy link

FiXato commented Nov 19, 2016

WeeChat at first used \x12 for reverse, but as of version 0.4.3 replaced it with \x16 instead:

core: replace default key Ctrl+c, r by Ctrl+c, v for reverse video in messages
[...]
irc: use color code 0x16 (ctrl-v) for reverse video in messages
WeeChat Changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment