In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Retro Rainbow — colorset.net */
:root {
--color-1: #FF4081;
--color-2: #40E0D0;
--color-3: #FFD700;
--color-4: #FF6347;
--color-5: #32CD32;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #783949;
--color-muted: #816268;
--color-primary: #E1186A;
--color-on-primary: #FFFFFF;
--color-accent: #008808;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080D;
--color-surface: #271217;
--color-border: #3F252B;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #FF4081;
--color-on-primary: #1C080D;
--color-accent: #32CD32;
--color-on-accent: #1C080D;
}
}
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 #FFD700 | für Kontrast angepasst · aus #FF4081 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #FF4081 | für Kontrast angepasst · aus #FFD700 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #FF4081 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #32CD32 | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,89:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,27: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,63:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,64:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,31:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,33:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,76:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,65:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,78:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,10:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,78:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,10: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 | #FF4081 (Text 1) | #40E0D0 (Text 2) | #FFD700 (Text 3) | #FF6347 (Text 4) | #32CD32 (Text 5) |
|---|---|---|---|---|---|
| #FF4081 | Gleiche Farbe | 2,03— | 2,38— | 1,13— | 1,57— |
| #40E0D0 | 2,03— | Gleiche Farbe | 1,17— | 1,79— | 1,29— |
| #FFD700 | 2,38— | 1,17— | Gleiche Farbe | 2,10— | 1,51— |
| #FF6347 | 1,13— | 1,79— | 2,10— | Gleiche Farbe | 1,39— |
| #32CD32 | 1,57— | 1,29— | 1,51— | 1,39— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
