In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Midnight Drive — colorset.net */
:root {
--color-1: #0F1630;
--color-2: #FF9F1C;
--color-3: #F72585;
--color-4: #2C3560;
--color-5: #F2EEF8;
--color-bg: #F2EEF8;
--color-surface: #F9F6FC;
--color-border: #DAD5E2;
--color-text: #0F1630;
--color-muted: #616981;
--color-primary: #E30076;
--color-on-primary: #FFFFFF;
--color-accent: #C67800;
--color-on-accent: #0F1630;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F1630;
--color-surface: #19213C;
--color-border: #30374D;
--color-text: #F2EEF8;
--color-muted: #8E8B94;
--color-primary: #E30076;
--color-on-primary: #FFFFFF;
--color-accent: #FF9F1C;
--color-on-accent: #0F1630;
}
}
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 #F72585 | für Kontrast angepasst · aus #F72585 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #FF9F1C | aus der Palette · Farbe 2 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,59:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,66:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,77:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,64:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,17:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,06:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,02:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,59:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,87:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,32:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,64:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,68:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,84:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,68: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 | #0F1630 (Text 1) | #FF9F1C (Text 2) | #F72585 (Text 3) | #2C3560 (Text 4) | #F2EEF8 (Text 5) |
|---|---|---|---|---|---|
| #0F1630 | Gleiche Farbe | 8,68AAA | 4,72AA | 1,52— | 15,59AAA |
| #FF9F1C | 8,68AAA | Gleiche Farbe | 1,84— | 5,73AA | 1,80— |
| #F72585 | 4,72AA | 1,84— | Gleiche Farbe | 3,11AA groß | 3,30AA groß |
| #2C3560 | 1,52— | 5,73AA | 3,11AA groß | Gleiche Farbe | 10,28AAA |
| #F2EEF8 | 15,59AAA | 1,80— | 3,30AA groß | 10,28AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
