¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤
*® Color-Format: ®*
*® ®*
*® I started with the old mIRC IRC color format, long ago. Then I ®*
*® needed to add additional color-codes for Yahoo chat -- i.e. ®*
*® font-size and RGB colors for both foreground and background. ®*
*® ®*
*® So here is the way codes are embedded when you click View->IRC. ®*
*® The same format can be used to edit files manually, ®*
*® or in the Wing Editor. ®*
*® ®*
*® Embedded YahCoLoRiZe ASCII codes (in decimal): ®*
*® ®*
*® 2 (STX) bold on/off ®*
*® 3 (ETX) color/end of color (followed by a color-format code, ®*
*® palette indexes are decimal (0-15) but RGB colors are ®*
*® 6-digit hexadecimal (RRGGBB)) ®*
*® 15 (SI) reset text attributes ®*
*® 17 (DC1) "Push" text-attributes ®*
*® 18 (DC2) "Pop" text-attributes ®*
*® 20 (DC4) font size change (followed by a two-digit font-size ®*
*® in decimal) *note -- a font-size of 00 hex means ®*
*® "restore the default font-size". ®*
*® 22 (SYN) inverse video on/off (italics for Yahoo chat) ®*
*® 31 (US) underline on/off ®*
*® ®*
*® Colors all begin with the ASCII ETX code (CTRL-C) (03 hex). ®*
*® ®*
*® Examples (numbers following $ or # must be hex!): ®*
*® (ETX)$000000 = background color of RGB BLACK ®*
*® (ETX)$ffffff = background color of RGB WHITE ®*
*® (ETX)#000000 = foreground color of RGB BLACK ®*
*® (ETX)#ffffff = foreground color of RGB WHITE ®*
*® (ETX),03 = background color from the palette (default is GREEN) ®*
*® (ETX),15 = background color from the palette (default is SILVER) ®*
*® (ETX)00 = foreground color from the palette (default is WHITE) ®*
*® (ETX)15 = foreground color from the palette (default is SILVER) ®*
*® (ETX)05,13 = foreground color MAROON, background color FUCHSIA ®*
*® ®*
*® *note colors like: (ETX)4,3 -- YahCoLoRiZe can read this if it ®*
*® is embedded in text it is processing, but when YahCoLoRiZe ®*
*® generated the same color it will print (ETX)04,03. ®*
*® Leaving out the leading '0' can cause ambiguities! ®*
*® ®*
*® Default (mIRC) color-palette: ®*
*® ®*
*® WHITE 0 ®*
*® BLACK 1 ®*
*® NAVY 2 ®*
*® GREEN 3 ®*
*® RED 4 ®*
*® MAROON 5 ®*
*® PURPLE 6 ®*
*® OLIVE 7 ®*
*® YELLOW 8 ®*
*® LIME 9 ®*
*® TEAL 10 ®*
*® AQUA 11 ®*
*® BLUE 12 ®*
*® FUCHSIA 13 ®*
*® GRAY 14 ®*
*® SILVER 15 ®*
*® TRANSPARENT 99 ®*
*® ®*
*® Yahoo (YahELite) color-palette: ®*
*® ®*
*® BLACK 0 ®*
*® BLUE 1 ®*
*® CYAN 2 ®*
*® GRAY 3 ®*
*® GREEN 4 ®*
*® PINK 5 ®*
*® PURPLE 6 ®*
*® ORANGE 7 ®*
*® RED 8 ®*
*® YELLOW 9 ®*
*® ®*
*® Yahoo chat-codes (not embedded in YahCoLoRiZe, but sent to ®*
*® Yahoo-chat): ®*
*® (the ESC code is 27 decimal, 33 octal) ®*
*® ®*
*® ESC[m Resets ??? attributes. ®*
*® ESC[0m Resets all attributes. ®*
*® ESC[1m Bold ®*
*® ESC[x1m unset bold. ®*
*® ESC[2m Italic ®*
*® ESC[x2m unset italic. ®*
*® ESC[4m Underline ®*
*® ESC[x4m unset underlne. ®*
*® ESC[3?m selects a basic color where ? is 0-9 (see above) ®*
*® ESC[#RRGGBBm where RRGGBB are 2-digit hex ®*
*® ESC[lm URL ®*
*® ESC[xlm unset URL ®*
*® ®*
¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤