Colors of the corporate design of the KIT.
Project description
Colors of the Karlsruhe Institute of Technology
Colors from the KIT corporate design color scheme.
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'
Overview
Because sometimes, you just need some values.
white; 255 255 255; #ffffff
black; 0 0 0; #000000
green; 0 150 130; #009682
blue; 70 100 170; #4664aa
maygreen; 140 182 60; #8cb63c
yellow; 252 229 0; #fce500
orange; 223 155 27; #df9b1b
brown; 167 130 46; #a7822e
red; 162 34 35; #a22223
purple; 163 16 124; #a3107c
cyan; 35 161 224; #23a1e0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kitcolors-1.6.0.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file kitcolors-1.6.0.tar.gz
.
File metadata
- Download URL: kitcolors-1.6.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.10.10 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc4f8e476b6fc5db59b7976466fa7952592426216d6a16f7ca4ea6e33c8a7d5f |
|
MD5 | 1d62b5785b045a32805b8f5f2818863a |
|
BLAKE2b-256 | 448458a4b8ad97349c302fda714b34292491672ed773d93bbe7c7cb6927c574a |
File details
Details for the file kitcolors-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: kitcolors-1.6.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.10.10 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f683626842b050ac8d546d2508266c0e52f49434bc89a639a5530545d04a803 |
|
MD5 | befde252c068293112d3220438185cc6 |
|
BLAKE2b-256 | bac8192e6bc815ffa82e13bd37c7fc9c72c2343354992748889c79ad48ebd372 |