In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Playful Colors — colorset.net */
:root {
--color-1: #FFB6C1;
--color-2: #98FB98;
--color-3: #87CEFA;
--color-4: #DDA0DD;
--color-5: #F0E68C;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #6A3E6B;
--color-muted: #796478;
--color-primary: #389C3D;
--color-on-primary: #000000;
--color-accent: #AF75B0;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170A17;
--color-surface: #221422;
--color-border: #382738;
--color-text: #E8E4BF;
--color-muted: #858266;
--color-primary: #98FB98;
--color-on-primary: #170A17;
--color-accent: #DDA0DD;
--color-on-accent: #170A17;
}
}
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 | für Kontrast angepasst · aus #F0E68C | für Kontrast angepasst · aus #DDA0DD |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #DDA0DD | für Kontrast angepasst · aus #F0E68C |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #87CEFA | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #DDA0DD | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,80:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,16:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,02:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,99:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,99:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,27:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,27:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,91:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,67:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,93:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 15,19:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,29:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 15,19:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,29: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 | #FFB6C1 (Text 1) | #98FB98 (Text 2) | #87CEFA (Text 3) | #DDA0DD (Text 4) | #F0E68C (Text 5) |
|---|---|---|---|---|---|
| #FFB6C1 | Gleiche Farbe | 1,30— | 1,04— | 1,25— | 1,29— |
| #98FB98 | 1,30— | Gleiche Farbe | 1,36— | 1,63— | 1,01— |
| #87CEFA | 1,04— | 1,36— | Gleiche Farbe | 1,21— | 1,34— |
| #DDA0DD | 1,25— | 1,63— | 1,21— | Gleiche Farbe | 1,62— |
| #F0E68C | 1,29— | 1,01— | 1,34— | 1,62— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
