Official mIRC colour table.
Slightly more complicated, but essentially string-replaces <tags> in an outgoing IRC string with correlating formatting using IRCControlCharacters in their syntax. Overload that takes an explicit strip Flag.
Slightly more complicated, but essentially string-replaces <tags> in an outgoing IRC string with correlating formatting using IRCControlCharacters in their syntax. Overload that does not take a strip Flag.
Returns the passed something wrapped in between IRC bold control characters.
Colour-codes the passed string with mIRC colouring, foreground and background. Direct overload that leverages the output range version to colour an internal Appender, and returns the resulting string.
Returns a mIRC colour code for the passed foreground and background colour. Overload that doesn't take a string to tint, only the IRCColours to produce a colour code from.
Returns the passed string coloured with an IRC colour depending on the hash of the string, making for good "random" (uniformly distributed) nick colours in IRC messages.
Colour-codes the passed string with mIRC colouring, foreground and background. Takes an output range sink and writes to it instead of allocating a new string.
Returns the passed something wrapped in between IRC italics control characters.
Returns an IRC formatting reset token.
Returns the passed something wrapped in between IRC underlined control characters.
Maps mIRC effect colour tokens to terminal ones.
Maps mIRC effect tokens (colour, bold, italics, underlined) to terminal ones.
Removes IRC colouring from a passed string.
Removes all form of mIRC formatting (colours, bold, italics, underlined) from a string.
Removes <tags> in an outgoing IRC string where the tags correlate to formatting using IRCControlCharacters.
Map of IRC colour values above 16 to ANSI terminal colours, as per ircdocs.
Functions related to IRC colouring and formatting; mapping it to ANSI terminal such, stripping it, etc.
IRC colours are not in the standard per se, but there is a de-facto standard based on the mIRC coluring syntax of \3fg,bg...\3, where '\3' is byte 3, fg is a foreground colour number (of IRCColour) and bg is a similar background colour number.