In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Sunset Gradient — colorset.net */
:root {
--color-1: #9C27B0;
--color-2: #E91E63;
--color-3: #F44336;
--color-4: #FF9800;
--color-5: #FFEB3B;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #68406F;
--color-muted: #78657B;
--color-primary: #E51760;
--color-on-primary: #FFFFFF;
--color-accent: #827600;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160A19;
--color-surface: #211423;
--color-border: #37273A;
--color-text: #EDE9C3;
--color-muted: #878469;
--color-primary: #E51760;
--color-on-primary: #FFFFFF;
--color-accent: #FFEB3B;
--color-on-accent: #160A19;
}
}
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 #FFEB3B | für Kontrast angepasst · aus #9C27B0 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #9C27B0 | für Kontrast angepasst · aus #FFEB3B |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #E91E63 | für Kontrast angepasst · aus #E91E63 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #F44336 | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,69:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,05:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,97:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,54:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,63:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,24:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,32:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,61:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,34:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,07:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,54:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 15,76:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,24:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 15,76: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 | #9C27B0 (Text 1) | #E91E63 (Text 2) | #F44336 (Text 3) | #FF9800 (Text 4) | #FFEB3B (Text 5) |
|---|---|---|---|---|---|
| #9C27B0 | Gleiche Farbe | 1,45— | 1,71— | 2,93— | 5,16AA |
| #E91E63 | 1,45— | Gleiche Farbe | 1,18— | 2,02— | 3,56AA groß |
| #F44336 | 1,71— | 1,18— | Gleiche Farbe | 1,71— | 3,02AA groß |
| #FF9800 | 2,93— | 2,02— | 1,71— | Gleiche Farbe | 1,77— |
| #FFEB3B | 5,16AA | 3,56AA groß | 3,02AA groß | 1,77— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
