Colors of the Karlsruhe Institute of Technology (inofficial)
Taken from the KIT corporate design color scheme.
Here's a list of tuples for RGB:
[
(255, 255, 255), # white
(0, 0, 0), # black
(0, 150, 130), # green
(0, 100, 170), # blue
(140, 182, 60), # maygreen
(252, 229, 0), # yellow
(223, 155, 27), # orange
(167, 130, 46), # brown
(162, 34, 35), # red
(163, 16, 124), # purple
(35, 161, 224), # cyan
]
Here's a dictionary for RGB:
{
"white": (255, 255, 255),
"black": (0, 0, 0),
"green": (0, 150, 130),
"blue": (0, 100, 170),
"maygreen": (140, 182, 60),
"yellow": (252, 229, 0),
"orange": (223, 155, 27),
"brown": (167, 130, 46),
"red": (162, 34, 35),
"purple": (163, 16, 124),
"cyan": (35, 161, 224),
}
Here's a list of strings for HEX:
[
"#ffffff", # white
"#000000", # black
"#009682", # green
"#4664aa", # blue
"#8cb63c", # maygreen
"#fce500", # yellow
"#df9b1b", # orange
"#a7822e", # brown
"#a22223", # red
"#a3107c", # purple
"#23a1e0", # cyan
]
Here's a dictionary for HEX:
{
"white": "#ffffff",
"black": "#000000",
"green": "#009682",
"blue": "#4664aa",
"maygreen": "#8cb63c",
"yellow": "#fce500",
"orange": "#df9b1b",
"brown": "#a7822e",
"red": "#a22223",
"purple": "#a3107c",
"cyan": "#23a1e0",
}
Here's some LaTeX code:
\usepackage{xcolor}
\definecolor{white}{RGB}{255,255,255}
\definecolor{black}{RGB}{0,0,0}
\definecolor{green}{RGB}{0,150,130}
\definecolor{blue}{RGB}{0,100,170}
\definecolor{maygreen}{RGB}{140,182,60}
\definecolor{yellow}{RGB}{252,229,0}
\definecolor{orange}{RGB}{223,155,27}
\definecolor{brown}{RGB}{167,130,46}
\definecolor{red}{RGB}{162,34,35}
\definecolor{purple}{RGB}{163,16,124}
\definecolor{cyan}{RGB}{35,161,224}
The RGB values listed in the image are integers from 0 to 255, taken from the corporate design guide. These values are then divided by 255 and consequently lie between 0 and 1. This is the format that matplotlib needs.
Install
pip install kitcolors
Usage in Python
All colors have RGB, rgb, and hex attributes.
Furthermore, there exist RGBa, rgba, and hexa methods that take alpha as an additional argument.
>>> from kitcolors import green
>>> green.rgb
(0.0, 0.5882352941176471, 0.5098039215686274)
>>> green.RGB
(0, 150, 130)
>>> green.hex
'#009682'
>>> green.rgba(0.2)
(0.0, 0.5882352941176471, 0.5098039215686274, 0.2)
>>> green.RGBa(0.2)
(0, 150, 130, 0.2)
>>> green.hexa(0.2)
'#00968233'
Metadata
Release files for kitcolors 1.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kitcolors-1.9.0.tar.gz | 528.6 kB | Without provenance | Details for kitcolors-1.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kitcolors-1.9.0-py3-none-any.whl | Python 3 | none | any | Details for kitcolors-1.9.0-py3-none-any.whl |
Total release size: 532.4 kB
Release files / kitcolors-1.9.0.tar.gz
| Download URL | kitcolors-1.9.0.tar.gz |
|---|---|
| Size | 528.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3744e5767de938817614323fe74e0663f5659688a22f3b1aa6ec39dfddaf8c14
|
|
BLAKE2b-256 checksum How to use checksums |
64b6fd1fa52cc094e4a82002c2e027f94ad8ff40671ac2098cca201e4a91bbd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / kitcolors-1.9.0-py3-none-any.whl
| Download URL | kitcolors-1.9.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3771191b85fabd4b06d57328e999c1a2295186893189d1a9a36b95509ff65c65
|
|
BLAKE2b-256 checksum How to use checksums |
b4c31d0270c235b782f6b52c239f60a5fdc0897261d2231f2f08d3cb5ca5227e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for kitcolors 1.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.