In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Spectrum Rainbow — colorset.net */
:root {
--color-1: #FF00AA;
--color-2: #AA00FF;
--color-3: #5500FF;
--color-4: #00AAFF;
--color-5: #00FFAA;
--color-bg: #ECFBF2;
--color-surface: #E3F2E9;
--color-border: #C8DACF;
--color-text: #464980;
--color-muted: #666983;
--color-primary: #AA00FF;
--color-on-primary: #FFFFFF;
--color-accent: #008858;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0D1E;
--color-surface: #161729;
--color-border: #2A2C42;
--color-text: #BDE3CD;
--color-muted: #6D8979;
--color-primary: #AA00FF;
--color-on-primary: #FFFFFF;
--color-accent: #00FFAA;
--color-on-accent: #0D0D1E;
}
}
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 #00FFAA | für Kontrast angepasst · aus #5500FF |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #5500FF | für Kontrast angepasst · aus #00FFAA |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #00AAFF | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,78:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,19: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,06:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,50:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,73:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,21:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,75: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,03:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,06:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 14,53:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,80:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 14,53: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 | #FF00AA (Text 1) | #AA00FF (Text 2) | #5500FF (Text 3) | #00AAFF (Text 4) | #00FFAA (Text 5) |
|---|---|---|---|---|---|
| #FF00AA | Gleiche Farbe | 1,40— | 2,06— | 1,40— | 2,72— |
| #AA00FF | 1,40— | Gleiche Farbe | 1,47— | 1,97— | 3,82AA groß |
| #5500FF | 2,06— | 1,47— | Gleiche Farbe | 2,90— | 5,61AA |
| #00AAFF | 1,40— | 1,97— | 2,90— | Gleiche Farbe | 1,94— |
| #00FFAA | 2,72— | 3,82AA groß | 5,61AA | 1,94— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
