In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Haze Gray — colorset.net */
:root {
--color-1: #D3D7DB;
--color-2: #DFE3E7;
--color-3: #EBEFF3;
--color-4: #F7FBFF;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #4F5256;
--color-muted: #6D7074;
--color-primary: #8B8F92;
--color-on-primary: #000000;
--color-accent: #5A5D60;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1011;
--color-surface: #181A1B;
--color-border: #2B2E32;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #D3D7DB;
--color-on-primary: #0E1011;
--color-accent: #EBEFF3;
--color-on-accent: #0E1011;
}
}
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 | für Kontrast angepasst · aus #D3D7DB |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #D3D7DB | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #D3D7DB | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #D3D7DB | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,85:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,27:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,98:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,44:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,63:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,26:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,63:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 19,08:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,46:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 13,18:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 16,51:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 13,18:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 16,51: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 | #D3D7DB (Text 1) | #DFE3E7 (Text 2) | #EBEFF3 (Text 3) | #F7FBFF (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #D3D7DB | Gleiche Farbe | 1,12— | 1,25— | 1,39— | 1,45— |
| #DFE3E7 | 1,12— | Gleiche Farbe | 1,12— | 1,24— | 1,29— |
| #EBEFF3 | 1,25— | 1,12— | Gleiche Farbe | 1,11— | 1,16— |
| #F7FBFF | 1,39— | 1,24— | 1,11— | Gleiche Farbe | 1,04— |
| #FFFFFF | 1,45— | 1,29— | 1,16— | 1,04— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
