In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Hope Dark — colorset.net */
:root {
--color-1: #14161F;
--color-2: #FFC145;
--color-3: #FF6B6B;
--color-4: #2A2D3B;
--color-5: #F1F2F6;
--color-bg: #F1F2F6;
--color-surface: #F9F9FC;
--color-border: #D7D9E1;
--color-text: #14161F;
--color-muted: #666974;
--color-primary: #ED5B5C;
--color-on-primary: #14161F;
--color-accent: #B38100;
--color-on-accent: #14161F;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #14161F;
--color-surface: #1E202A;
--color-border: #323542;
--color-text: #F1F2F6;
--color-muted: #8C8D90;
--color-primary: #FF6B6B;
--color-on-primary: #14161F;
--color-accent: #FFC145;
--color-on-accent: #14161F;
}
}
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 #FF6B6B | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #FF6B6B | aus der Palette · Farbe 2 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,12:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,16:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,89:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,37:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,20:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,00:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,10:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,12:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,49:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,43:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,50:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,14:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,50:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,14: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 | #14161F (Text 1) | #FFC145 (Text 2) | #FF6B6B (Text 3) | #2A2D3B (Text 4) | #F1F2F6 (Text 5) |
|---|---|---|---|---|---|
| #14161F | Gleiche Farbe | 11,14AAA | 6,50AA | 1,32— | 16,12AAA |
| #FFC145 | 11,14AAA | Gleiche Farbe | 1,71— | 8,44AAA | 1,45— |
| #FF6B6B | 6,50AA | 1,71— | Gleiche Farbe | 4,92AA | 2,48— |
| #2A2D3B | 1,32— | 8,44AAA | 4,92AA | Gleiche Farbe | 12,21AAA |
| #F1F2F6 | 16,12AAA | 1,45— | 2,48— | 12,21AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
