In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Twilight Suite — colorset.net */
:root {
--color-1: #1A172C;
--color-2: #B0A6ED;
--color-3: #E5848C;
--color-4: #47416B;
--color-5: #EEEDF5;
--color-bg: #EEEDF5;
--color-surface: #F5F5FA;
--color-border: #D5D4DF;
--color-text: #1A172C;
--color-muted: #6A6781;
--color-primary: #B65A63;
--color-on-primary: #FFFFFF;
--color-accent: #47416B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A172C;
--color-surface: #242238;
--color-border: #3A374E;
--color-text: #EEEDF5;
--color-muted: #8D8C93;
--color-primary: #E5848C;
--color-on-primary: #1A172C;
--color-accent: #6D6B85;
--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 #E5848C | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #47416B |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,02:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,07:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,67:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,53:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,39:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,90:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,08:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,02:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,28:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,24:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,66:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,13:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,66:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,40: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 | #1A172C (Text 1) | #B0A6ED (Text 2) | #E5848C (Text 3) | #47416B (Text 4) | #EEEDF5 (Text 5) |
|---|---|---|---|---|---|
| #1A172C | Gleiche Farbe | 7,92AAA | 6,66AA | 1,86— | 15,02AAA |
| #B0A6ED | 7,92AAA | Gleiche Farbe | 1,19— | 4,26AA groß | 1,90— |
| #E5848C | 6,66AA | 1,19— | Gleiche Farbe | 3,58AA groß | 2,26— |
| #47416B | 1,86— | 4,26AA groß | 3,58AA groß | Gleiche Farbe | 8,08AAA |
| #EEEDF5 | 15,02AAA | 1,90— | 2,26— | 8,08AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
