Skip to main content

No project description provided

Project description

IRC codes

Usage:

Text format:

bold(text)
italic(text)
strikethrough(text)
underline(text)
monospace(text)
text + reset()

Text colors:

colored(text, text_color, background_color)

Examples:

colored(text, 'blue')
colored(text, 'light green', 'grey')

Supported colors:

Index Color RGB
0 White (255,255,255)
1 Black (0,0,0)
2 Blue (0,0,127)
3 Green (0,147,0)
4 Light Red (255,0,0)
5 Brown (127,0,0)
6 Purple (156,0,156)
7 Orange (252,127,0)
8 Yellow (255,255,0)
9 Light Green (0,252,0)
10 Cyan (0,147,147)
11 Light Cyan (0,255,255)
12 Light Blue (0,0,252)
13 Pink (255,0,255)
14 Grey (127,127,127)
15 Light Grey (210,210,210)

More detailed:

https://www.mirc.com/colors.html

https://stackoverflow.com/questions/1391610/embed-mirc-color-codes-into-a-c-sharp-literal

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

irccodes-1.0.4.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distributions

irccodes-1.0.4-py3.9.egg (3.5 kB view hashes)

Uploaded Source

irccodes-1.0.4-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page