2000-06-17 21:18:12 -04:00
|
|
|
|
2001-03-16 20:52:43 -05:00
|
|
|
Irssi's colors that you can use in text formats, hilights, etc. :
|
2000-06-17 21:18:12 -04:00
|
|
|
|
2000-04-26 04:11:21 -04:00
|
|
|
text text background
|
|
|
|
---------------------------------------------------------------------
|
2007-10-11 10:46:18 -04:00
|
|
|
%k %K %0 black dark grey black
|
2000-04-26 04:11:21 -04:00
|
|
|
%r %R %1 red bold red red
|
|
|
|
%g %G %2 green bold green green
|
|
|
|
%y %Y %3 yellow bold yellow yellow
|
|
|
|
%b %B %4 blue bold blue blue
|
|
|
|
%m %M %5 magenta bold magenta magenta
|
|
|
|
%p %P magenta (think: purple)
|
|
|
|
%c %C %6 cyan bold cyan cyan
|
|
|
|
%w %W %7 white bold white white
|
2002-05-15 17:56:23 -04:00
|
|
|
%n %N Changes the color to "default color", removing
|
|
|
|
all other coloring and formatting. %N is always
|
|
|
|
the terminal's default color. %n is usually too,
|
|
|
|
except in themes it changes to "previous color",
|
|
|
|
ie. hello = "%Rhello%n" and "%G{hello} world"
|
|
|
|
would print hello in red, and %n would turn back
|
|
|
|
into %G making world green.
|
2001-03-16 21:32:32 -05:00
|
|
|
%F Blinking on/off (think: flash)
|
2000-04-26 04:11:21 -04:00
|
|
|
%U Underline on/off
|
|
|
|
%8 Reverse on/off
|
|
|
|
%9 %_ Bold on/off
|
2011-11-06 14:40:25 -05:00
|
|
|
%I Italic on/off
|
2000-04-26 04:11:21 -04:00
|
|
|
%: Insert newline
|
|
|
|
%| Marks the indentation position
|
2002-05-01 18:52:51 -04:00
|
|
|
%# Monospace font on/off (useful with lists and GUI)
|
2000-04-26 04:11:21 -04:00
|
|
|
%% A single %
|
2014-01-09 09:20:29 -05:00
|
|
|
%XAB %xAB Color from extended plane (A=1-7, B=0-Z)
|
|
|
|
%ZAABBCC %zAABBCC HTML color (in hex notation)
|
2000-04-26 04:11:21 -04:00
|
|
|
|
2001-01-27 22:41:17 -05:00
|
|
|
In .theme files %n works a bit differently. See default.theme
|
|
|
|
for more information.
|
|
|
|
|
2001-03-16 20:52:43 -05:00
|
|
|
|
|
|
|
MIRC colors that you can use when writing text to channel:
|
2000-06-17 21:18:12 -04:00
|
|
|
|
2000-09-25 14:11:52 -04:00
|
|
|
foreground (fg) background (bg)
|
2000-07-20 17:13:41 -04:00
|
|
|
-------------------------------------------------------
|
2002-01-19 13:46:23 -05:00
|
|
|
0 white light gray + blinking fg
|
|
|
|
1 black black
|
2000-09-06 17:30:56 -04:00
|
|
|
2 blue blue
|
|
|
|
3 green green
|
2002-01-19 13:46:23 -05:00
|
|
|
4 light red red + blinking fg
|
|
|
|
5 red red
|
2000-09-06 17:30:56 -04:00
|
|
|
6 magenta (purple) magenta
|
2002-01-19 13:46:23 -05:00
|
|
|
7 orange orange
|
|
|
|
8 yellow orange + blinking fg
|
|
|
|
9 light green green + blinking fg
|
|
|
|
10 cyan cyan
|
|
|
|
11 light cyan cyan + blinking fg
|
|
|
|
12 light blue blue + blinking fg
|
|
|
|
13 light magenta magenta + blinking fg
|
|
|
|
14 gray black + blinking fg
|
|
|
|
15 light gray light gray
|
2000-07-20 17:13:41 -04:00
|
|
|
|
2002-01-19 13:46:23 -05:00
|
|
|
These colors may differ depending on your terminal. In particular
|
|
|
|
the meaning for background may be the same as for the foreground
|
|
|
|
(bright colors, no blinking), and orange often looks like brown or
|
|
|
|
dark yellow.
|
2000-07-20 17:13:41 -04:00
|
|
|
|
2001-02-14 20:46:47 -05:00
|
|
|
How to use these colors ('#' means a number as MIRC color code):
|
2000-07-20 17:13:41 -04:00
|
|
|
|
|
|
|
<Ctrl>-b set bold
|
|
|
|
<Ctrl>-c#[,#] set foreground and optionally background color
|
|
|
|
<Ctrl>-o reset all formats to plain text
|
|
|
|
<Ctrl>-v set inverted color mode
|
|
|
|
<Ctrl>-_ set underline
|
|
|
|
<Ctrl>-7 same as <Ctrl>-_
|
|
|
|
|
|
|
|
To reset a mode set it again, f.e.
|
2000-09-25 14:11:52 -04:00
|
|
|
<Ctrl-C>3<Ctrl-V>FOO<Ctrl-V>BAR
|
2000-07-20 17:13:41 -04:00
|
|
|
creates black on green FOO followed by a green on black BAR
|