Color System
+DB UX Design Guidelines 3.0 introduce a complete new set of color variables that follow some rules to work with.
+Each accent color (primary, secondary, information, etc.) is provided in a group of six compatible colors of different tones for pairing, defining emphasis, and visual expression.
+Background colors define their own foreground color by so named on-colors. For using the DB Design System with SCSS, we provide a wide range of SCSS placeholders and utility + classes that automatically style e.g. text and links based on their current background color. For more information have a look at the usage section.
+ +Color Scheme – Primary (Example)
+The following example shows the available colors for the primary brand color. + Each defined color has an interactive mode which means that colors for hover and pressed states are defined.
+-
+
- Primary
- base key color +
- On Primary
- is applied to content (icons, text, etc.) that sits on top of primary +
- Primary Background-Light
- background color for current key color. Only used for backrounds. +
- Primary Background Transparent
- Transparent or semi transparent backgrounds for current key color, e.g. used for form field backgrounds. +
- On Primary Background
- is applied to content (icons, text, etc.) that sits on top of primary background colors (background light or transparent). +
- On Primary Background Weak
- is applied to content (icons, text, etc.) that sits on top of primary background colors (background light or transparent) and is a variant to weaken content on primary backgrounds. +
Color Scheme Illustration
+![Color Scheme Example](../../images/documentation/colors/primary.png)
![Color Scheme Example](../../images/documentation/colors/primary-background.png)
Neutral Color Scheme
+The neutral color palette exists of six color variants plus two on-color variants (default and weak). In contrast to key colors like primary, neutral colors can only be used for backgrounds.
+ +![Neutral Color Scheme](../../images/documentation/colors/neutral-palette.png)