In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Primary Colors — colorset.net */
:root {
--color-1: #FF0000;
--color-2: #00FF00;
--color-3: #0000FF;
--color-4: #FFFF00;
--color-5: #FF00FF;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D5D7C4;
--color-text: #344C7F;
--color-muted: #5E6A82;
--color-primary: #F100F1;
--color-on-primary: #000000;
--color-accent: #008900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #F6F8D2;
--color-muted: #8B8C71;
--color-primary: #FF00FF;
--color-on-primary: #080F1F;
--color-accent: #00FF00;
--color-on-accent: #080F1F;
}
}
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 #FFFF00 | für Kontrast angepasst · aus #0000FF |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #0000FF | für Kontrast angepasst · aus #FFFF00 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #FF00FF | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #00FF00 | aus der Palette · Farbe 2 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,87:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,26:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,07:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,01:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,59:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,25:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,27:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,55:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,11:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,54:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,10:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 13,93:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,10:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 13,93: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 | #FF0000 (Text 1) | #00FF00 (Text 2) | #0000FF (Text 3) | #FFFF00 (Text 4) | #FF00FF (Text 5) |
|---|---|---|---|---|---|
| #FF0000 | Gleiche Farbe | 2,91— | 2,15— | 3,72AA groß | 1,27— |
| #00FF00 | 2,91— | Gleiche Farbe | 6,26AA | 1,28— | 2,29— |
| #0000FF | 2,15— | 6,26AA | Gleiche Farbe | 8,00AAA | 2,74— |
| #FFFF00 | 3,72AA groß | 1,28— | 8,00AAA | Gleiche Farbe | 2,92— |
| #FF00FF | 1,27— | 2,29— | 2,74— | 2,92— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
