-
Notifications
You must be signed in to change notification settings - Fork 37
Description
The "Colors" section of the "IRC Formatting" page lists recommended ANSI color codes for IRC colors 16 through 98 but not for colors 0 through 15, and I'm not 100% sure what ANSI colors the latter should map to.
Assuming the first 16 IRC colors should map to the first 16 ANSI colors, the most obvious mappings are:
| IRC | ANSI |
|---|---|
| White (0) | Bright White (15) |
| Black (1) | Black (0) |
| Blue (2) | Blue (4) |
| Green (3) | Green (2) |
| Red (4) | Red (1) 1 |
| Brown (5) | ??? |
| Magenta (6) | Magenta (5) |
| Orange (7) | ??? |
| Yellow (8) | Bright Yellow (11) 1 |
| Light Green (9) | Bright Green (10) |
| Cyan (10) | Cyan (6) |
| Light Cyan (11) | Bright Cyan (14) |
| Light Blue (12) | Bright Blue (12) |
| Pink (13) | Bright Magenta (13) 1 |
| Grey (14) | Bright Black (8) 1 |
| Light Grey (15) | White (7) 1 |
This leaves the ANSI colors yellow (3) and bright red (9) unused. My understanding is that ANSI yellow is normally used as a "brown" color, but the colored square shown on the page for IRC brown looks more like ANSI (dark/non-bright) red to me. On top of that, none of the first 16 ANSI colors look like orange (I'd personally pick ANSI 172 for that).
Are there any pre-existing conventions for the ANSI color codes for IRC colors 0-16? Could such a mapping be added to the page?