In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Riviera Stripe — colorset.net */
:root {
--color-1: #F6F8FA;
--color-2: #1E4E8C;
--color-3: #F26B5B;
--color-4: #F2D7A6;
--color-5: #182235;
--color-bg: #F6F8FA;
--color-surface: #EDEFF1;
--color-border: #D2D6DB;
--color-text: #182235;
--color-muted: #5F6B82;
--color-primary: #E45E4F;
--color-on-primary: #182235;
--color-accent: #1E4E8C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #182235;
--color-surface: #232D41;
--color-border: #384359;
--color-text: #F6F8FA;
--color-muted: #959698;
--color-primary: #F26B5B;
--color-on-primary: #182235;
--color-accent: #4677B9;
--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 1 | aus der Palette · Farbe 5 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #F26B5B | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #1E4E8C |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,95:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,81:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,04:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,56:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,32:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,28:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,82:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,95:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,95:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,38:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,33:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,57:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,33:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,49: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 | #F6F8FA (Text 1) | #1E4E8C (Text 2) | #F26B5B (Text 3) | #F2D7A6 (Text 4) | #182235 (Text 5) |
|---|---|---|---|---|---|
| #F6F8FA | Gleiche Farbe | 7,82AAA | 2,81— | 1,31— | 14,95AAA |
| #1E4E8C | 7,82AAA | Gleiche Farbe | 2,79— | 5,96AA | 1,91— |
| #F26B5B | 2,81— | 2,79— | Gleiche Farbe | 2,14— | 5,33AA |
| #F2D7A6 | 1,31— | 5,96AA | 2,14— | Gleiche Farbe | 11,41AAA |
| #182235 | 14,95AAA | 1,91— | 5,33AA | 11,41AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
