HOME

¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤
*®     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.                                      ®*
*®                                                           ®*
*®     Embedded YahCoLoRiZe ASCII codes (in hex):            ®*
*®                                                           ®*
*®     02h  B Bold on/off.                                   ®*
*®     03h  C Color/end of color (followed by a color-       ®*
*®            format code, palette indexes are decimal       ®*
*®            (0-15) but RGB colors are 6-digit hex          ®*
*®            (RRGGBB)).                                     ®*
*®     0Fh  O Reset text attributes.                         ®*
*®     11h  P "Push" text-attributes.                        ®*
*®     12h  p "Pop" text-attributes.                         ®*
*®     13h  F Font type change followed by a two-digit       ®*
*®            table-index 00-99 in decimal. A index of       ®*
*®            00 means "restore the previous font-type".     ®*
*®            01 is Courier-New, 02 is Tahoma.               ®*
*®     14h  S Font size change followed by a two-digit       ®*
*®            font-size 00-99 in decimal. A font-size        ®*
*®            of 00 means "restore the previous font-size".  ®*
*®     16h  I Inverse video on/off (italics for Yahoo        ®*
*®            chat).                                         ®*
*®     1Fh  U Underline on/off.                              ®*
*®                                                           ®*
*®     Colors all begin with 03hex, the ASCII ETX code       ®*
*®     (CTRL-C).                                             ®*
*®                                                           ®*
*®     Examples:                                             ®*
*®                                                           ®*
*®     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+04 = foreground color from the palette            ®*
*®     (default is RED)                                      ®*
*®     ETX+07 = foreground color from the palette            ®*
*®     (default is ORANGE)                                   ®*
*®     ETX+05,13 = foreground color MAROON, background       ®*
*®     color FUCHSIA                                         ®*
*®                                                           ®*
*®     Default color-palette:                                ®*
*®                                                           ®*
*®     WHITE          0                                      ®*
*®     BLACK          1                                      ®*
*®     NAVY           2                                      ®*
*®     GREEN          3                                      ®*
*®     RED            4                                      ®*
*®     MAROON         5                                      ®*
*®     PURPLE         6                                      ®*
*®     ORANGE         7                                      ®*
*®     YELLOW         8                                      ®*
*®     LIME           9                                      ®*
*®     TEAL           10                                     ®*
*®     AQUA           11                                     ®*
*®     BLUE           12                                     ®*
*®     FUCHSIA        13                                     ®*
*®     GRAY           14                                     ®*
*®     SILVER         15                                     ®*
*®     TRANSPARENT    99                                     ®*
*®                                                           ®*
*®     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.         ®*
*®     ESC[#RRGGBBm where RRGGBB are 2-digit hex.            ®*
¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤¤~»}®{«~¤