In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Midnight Flight — colorset.net */
:root {
--color-1: #08152C;
--color-2: #7FBEF3;
--color-3: #F290A0;
--color-4: #1E3761;
--color-5: #E7F0F8;
--color-bg: #E7F0F8;
--color-surface: #F1F7FC;
--color-border: #CCD8E2;
--color-text: #08152C;
--color-muted: #5A687F;
--color-primary: #B5596A;
--color-on-primary: #FFFFFF;
--color-accent: #1E3761;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #08152C;
--color-surface: #122038;
--color-border: #29354A;
--color-text: #E7F0F8;
--color-muted: #848C93;
--color-primary: #F290A0;
--color-on-primary: #08152C;
--color-accent: #5B6C89;
--color-on-accent: #FFFFFF;
}
}
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 #F290A0 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #1E3761 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,79:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,86:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,56:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,84:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,96:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,27:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,79:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,13:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,33:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 8,04:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,31:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 8,04:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,42:1 | AA groß 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 | #08152C (Text 1) | #7FBEF3 (Text 2) | #F290A0 (Text 3) | #1E3761 (Text 4) | #E7F0F8 (Text 5) |
|---|---|---|---|---|---|
| #08152C | Gleiche Farbe | 9,15AAA | 8,04AAA | 1,54— | 15,79AAA |
| #7FBEF3 | 9,15AAA | Gleiche Farbe | 1,14— | 5,95AA | 1,72— |
| #F290A0 | 8,04AAA | 1,14— | Gleiche Farbe | 5,23AA | 1,96— |
| #1E3761 | 1,54— | 5,95AA | 5,23AA | Gleiche Farbe | 10,27AAA |
| #E7F0F8 | 15,79AAA | 1,72— | 1,96— | 10,27AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
