In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Night Drive Dash — colorset.net */
:root {
--color-1: #030C17;
--color-2: #FA5F00;
--color-3: #26E7DF;
--color-4: #F92DA2;
--color-5: #F2EADD;
--color-bg: #F2EADD;
--color-surface: #F7F2EA;
--color-border: #DBD1C1;
--color-text: #030C17;
--color-muted: #52606E;
--color-primary: #E2008F;
--color-on-primary: #FFFFFF;
--color-accent: #00837E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #030C17;
--color-surface: #0A1622;
--color-border: #1C2A39;
--color-text: #F2EADD;
--color-muted: #898276;
--color-primary: #E2008F;
--color-on-primary: #FFFFFF;
--color-accent: #26E7DF;
--color-on-accent: #030C17;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #F92DA2 | für Kontrast angepasst · aus #F92DA2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #26E7DF | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,46:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,63:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,40:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,54:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,62:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,80:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,87:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,46:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,28:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,16:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,54:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,70:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,33:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,70:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #030C17 (Text 1) | #FA5F00 (Text 2) | #26E7DF (Text 3) | #F92DA2 (Text 4) | #F2EADD (Text 5) |
|---|---|---|---|---|---|
| #030C17 | Gleiche Farbe | 6,27AA | 12,70AAA | 5,54AA | 16,46AAA |
| #FA5F00 | 6,27AA | Gleiche Farbe | 2,03— | 1,13— | 2,62— |
| #26E7DF | 12,70AAA | 2,03— | Gleiche Farbe | 2,29— | 1,30— |
| #F92DA2 | 5,54AA | 1,13— | 2,29— | Gleiche Farbe | 2,97— |
| #F2EADD | 16,46AAA | 2,62— | 1,30— | 2,97— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
