Skip to content

Colors

All colors are importable as module-level constants and collected in the CHARITE_COLORS dict.

from charite_plot.colors import PRIME_BLUE, TEXT_GREY
from charite_plot import CHARITE_COLORS  # full dict

print(PRIME_BLUE)  # "#004d9b"
print(CHARITE_COLORS["korall"])  # "#ea5451"

How the colors look with color-vision deficiencies

Switch the simulation to see every swatch on this page as people with a color-vision deficiency see it (Machado et al. 2009, full severity). About 8 % of men and 0.5 % of women have a red–green deficiency; greyscale shows how a palette survives black-and-white printing. Simulations are approximations, least accurate for the rare tritanopia.


Primary

PRIME_BLUE #004d9b
PRIME_DGREY #7e898f
PRIME_LGREY #cbcfd2
TEXT_GREY #5e676c
BLACK #000000
WHITE #ffffff

Secondary

SECOND_DBLUE #002552
SECOND_LBLUE #007bc3
KORALL #ea5451

Accents

LILA #564091
LAVENDEL #7876b6
BROMBEERE #6f186d
PFLAUME #944292
WEINROT #89014c
HIMBEER #d74b7f
ROT #e31f2c
MANGO #fab600
RAPSGELB #ffdf43
LIMETTE #d1d811
GRASGRUEN #a1ba0c
GRUEN #008939
MINT #88c69a
MINERAL #009aa9
AQUA #61c3d7
BRAUN #89725b
MOCCA #c8b8ad

Employer branding

Employer-Branding-Grün is a special color that only the Stabsstelle Personalmarketing und Digitalisierung may use, for employer-branding topics and campaigns (Charité Markenportal). It is available as EMPLOYER_BRANDING_GREEN for completeness, but it is not used in any palette.

EMPLOYER_BRANDING_GREEN #ccefcb

BIH colors

The Berlin Institute of Health at Charité colors live in charite_plot.brands.bih and are collected in the BIH_COLORS dict (they are not re-exported at the top level, because KORALL, MINERAL and LAVENDEL share names with Charité colors).

from charite_plot.brands.bih import BLAU, BIH_COLORS
from charite_plot import tint

tint(BLAU, 20)  # "#ccd7dd" — BIH allows tints of the diagram colors in 10 % steps

Diagram colors

BLAU #003754
KORALL #ea5451
GOLD #9d7220
MINERAL #009aa9
LAVENDEL #7876b6

Text-only colors

The BIH handbook reserves these for text and highlights; they are not used in any palette.

DUNKELROT #af1821
HELLROSA #ffb0ac

Text and axes

The handbook forbids black, but the BIH theme deliberately uses black text and axes because scientific journals expect it.

BLACK #000000
WHITE #ffffff