Skip to main content

No project description provided

Project description

Colors of the Karlsruhe Insititute of Technology

Colors from the KIT coporate design color scheme.

Example of colors.

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 properties. 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


Download files

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

Source Distribution

kitcolors-0.5.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

kitcolors-0.5.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file kitcolors-0.5.0.tar.gz.

File metadata

  • Download URL: kitcolors-0.5.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/22.6.0

File hashes

Hashes for kitcolors-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4477f2f4cd7ea3a53d81ec71b61e08a0edccf8868569eb1bf8e0dbef89915360
MD5 b33ce5101aa206155afc75f025d1b076
BLAKE2b-256 78749241bf2ca0d6927603d23d5c5b038e96bfdb389aa6a8ce63de6991b584ac

See more details on using hashes here.

File details

Details for the file kitcolors-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: kitcolors-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/22.6.0

File hashes

Hashes for kitcolors-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cfded5b71440d63272f3930a0a6388884faa31cea3b24076017bdd7ca7af6db6
MD5 5085c25cb9550499fc708f2efec22c98
BLAKE2b-256 46484209e7d3b616e135d24eaa1305b0a2e6dd264b42ab89aef7bd3c72c250f6

See more details on using hashes here.

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