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¶
#004d9b
#7e898f
#cbcfd2
#5e676c
#000000
#ffffff
Secondary¶
#002552
#007bc3
#ea5451
Accents¶
#564091
#7876b6
#6f186d
#944292
#89014c
#d74b7f
#e31f2c
#fab600
#ffdf43
#d1d811
#a1ba0c
#008939
#88c69a
#009aa9
#61c3d7
#89725b
#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.
#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¶
#003754
#ea5451
#9d7220
#009aa9
#7876b6
Text-only colors¶
The BIH handbook reserves these for text and highlights; they are not used in any palette.
#af1821
#ffb0ac
Text and axes¶
The handbook forbids black, but the BIH theme deliberately uses black text and axes because scientific journals expect it.
#000000
#ffffff