In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Retro Racer — colorset.net */
:root {
--color-1: #120E1F;
--color-2: #FF4365;
--color-3: #00D9C0;
--color-4: #2E2745;
--color-5: #F4EEF7;
--color-bg: #F4EEF7;
--color-surface: #FAF6FC;
--color-border: #DDD4E1;
--color-text: #120E1F;
--color-muted: #656177;
--color-primary: #FB3F62;
--color-on-primary: #120E1F;
--color-accent: #008575;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120E1F;
--color-surface: #1C182A;
--color-border: #312C42;
--color-text: #F4EEF7;
--color-muted: #8C878F;
--color-primary: #FF4365;
--color-on-primary: #120E1F;
--color-accent: #00D9C0;
--color-on-accent: #120E1F;
}
}
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 #FF4365 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #00D9C0 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,62:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,73:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,22:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,40:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,55:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,08:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,99:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,62:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,18:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,39:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,63:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,54:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,63:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,54: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 | #120E1F (Text 1) | #FF4365 (Text 2) | #00D9C0 (Text 3) | #2E2745 (Text 4) | #F4EEF7 (Text 5) |
|---|---|---|---|---|---|
| #120E1F | Gleiche Farbe | 5,63AA | 10,54AAA | 1,35— | 16,62AAA |
| #FF4365 | 5,63AA | Gleiche Farbe | 1,87— | 4,18AA groß | 2,95— |
| #00D9C0 | 10,54AAA | 1,87— | Gleiche Farbe | 7,83AAA | 1,58— |
| #2E2745 | 1,35— | 4,18AA groß | 7,83AAA | Gleiche Farbe | 12,34AAA |
| #F4EEF7 | 16,62AAA | 2,95— | 1,58— | 12,34AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
