In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Night Plaza — colorset.net */
:root {
--color-1: #241838;
--color-2: #F28FBF;
--color-3: #8BD3E6;
--color-4: #45325E;
--color-5: #F8EEF8;
--color-bg: #F8EEF8;
--color-surface: #FDF7FD;
--color-border: #E1D4E1;
--color-text: #241838;
--color-muted: #706881;
--color-primary: #C96A99;
--color-on-primary: #241838;
--color-accent: #45325E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241838;
--color-surface: #2F2344;
--color-border: #433C53;
--color-text: #F8EEF8;
--color-muted: #978E97;
--color-primary: #F28FBF;
--color-on-primary: #241838;
--color-accent: #7A6D94;
--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 #F28FBF | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #45325E |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,71:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,76:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,66:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,76:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,22:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,09:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,93:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,71:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,86:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,25:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 7,49:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,73:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 7,49:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,52: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 | #241838 (Text 1) | #F28FBF (Text 2) | #8BD3E6 (Text 3) | #45325E (Text 4) | #F8EEF8 (Text 5) |
|---|---|---|---|---|---|
| #241838 | Gleiche Farbe | 7,49AAA | 9,94AAA | 1,48— | 14,71AAA |
| #F28FBF | 7,49AAA | Gleiche Farbe | 1,33— | 5,05AA | 1,96— |
| #8BD3E6 | 9,94AAA | 1,33— | Gleiche Farbe | 6,71AA | 1,48— |
| #45325E | 1,48— | 5,05AA | 6,71AA | Gleiche Farbe | 9,93AAA |
| #F8EEF8 | 14,71AAA | 1,96— | 1,48— | 9,93AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
