In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Gray Soft — colorset.net */
:root {
--color-1: #F9FAFB;
--color-2: #F3F4F6;
--color-3: #E5E7EB;
--color-4: #D1D5DB;
--color-5: #9CA3AF;
--color-bg: #F9FAFB;
--color-surface: #F0F1F2;
--color-border: #D5D8DC;
--color-text: #4B515C;
--color-muted: #676E79;
--color-primary: #848B96;
--color-on-primary: #000000;
--color-accent: #545A62;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0F13;
--color-surface: #171A1D;
--color-border: #2A2E34;
--color-text: #F9FAFB;
--color-muted: #8C8D8E;
--color-primary: #9CA3AF;
--color-on-primary: #0E0F13;
--color-accent: #E5E7EB;
--color-on-accent: #0E0F13;
}
}
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 | für Kontrast angepasst · aus #9CA3AF |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #9CA3AF | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #9CA3AF | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #9CA3AF | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,64:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,06:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,92:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,11:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,96:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,29:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,66:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,33:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,72:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,76:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 7,54:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 15,47:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 7,54:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 15,47: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 | #F9FAFB (Text 1) | #F3F4F6 (Text 2) | #E5E7EB (Text 3) | #D1D5DB (Text 4) | #9CA3AF (Text 5) |
|---|---|---|---|---|---|
| #F9FAFB | Gleiche Farbe | 1,05— | 1,18— | 1,41— | 2,43— |
| #F3F4F6 | 1,05— | Gleiche Farbe | 1,13— | 1,34— | 2,31— |
| #E5E7EB | 1,18— | 1,13— | Gleiche Farbe | 1,19— | 2,05— |
| #D1D5DB | 1,41— | 1,34— | 1,19— | Gleiche Farbe | 1,72— |
| #9CA3AF | 2,43— | 2,31— | 2,05— | 1,72— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
