In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Fog Grey — colorset.net */
:root {
--color-1: #F8F8F8;
--color-2: #F0F0F0;
--color-3: #E8E8E8;
--color-4: #E0E0E0;
--color-5: #D8D8D8;
--color-bg: #F8F8F8;
--color-surface: #EFEFEF;
--color-border: #D9D5D6;
--color-text: #505050;
--color-muted: #6C6C6C;
--color-primary: #8A8A8A;
--color-on-primary: #000000;
--color-accent: #595959;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #F8F8F8;
--color-muted: #8C8C8C;
--color-primary: #D8D8D8;
--color-on-primary: #0F0F0F;
--color-accent: #A2A2A2;
--color-on-accent: #0F0F0F;
}
}
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 #D8D8D8 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #D8D8D8 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #D8D8D8 | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #D8D8D8 | für Kontrast angepasst · aus #D8D8D8 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,59:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,01:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,94:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,08:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,00:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,25:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,60:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,05:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,56:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,70:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 13,45:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,51:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 13,45:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,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 | #F8F8F8 (Text 1) | #F0F0F0 (Text 2) | #E8E8E8 (Text 3) | #E0E0E0 (Text 4) | #D8D8D8 (Text 5) |
|---|---|---|---|---|---|
| #F8F8F8 | Gleiche Farbe | 1,07— | 1,15— | 1,24— | 1,34— |
| #F0F0F0 | 1,07— | Gleiche Farbe | 1,08— | 1,16— | 1,25— |
| #E8E8E8 | 1,15— | 1,08— | Gleiche Farbe | 1,08— | 1,16— |
| #E0E0E0 | 1,24— | 1,16— | 1,08— | Gleiche Farbe | 1,08— |
| #D8D8D8 | 1,34— | 1,25— | 1,16— | 1,08— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
