In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Driftwood Gray — colorset.net */
:root {
--color-1: #A0A0A0;
--color-2: #B3B3B3;
--color-3: #C6C6C6;
--color-4: #D9D9D9;
--color-5: #8D8D8D;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #4E4E4E;
--color-muted: #6A6A6A;
--color-primary: #878787;
--color-on-primary: #000000;
--color-accent: #565656;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #D9D9D9;
--color-muted: #818181;
--color-primary: #8D8D8D;
--color-on-primary: #0F0F0F;
--color-accent: #C6C6C6;
--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 | für Kontrast angepasst · aus #D9D9D9 | für Kontrast angepasst · aus #8D8D8D |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8D8D8D | aus der Palette · Farbe 4 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #8D8D8D | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #8D8D8D | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,77:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,11:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,05:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,85:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,34:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,35:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,85:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,58:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,46:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,92:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,78:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,22:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,78:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,22: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 | #A0A0A0 (Text 1) | #B3B3B3 (Text 2) | #C6C6C6 (Text 3) | #D9D9D9 (Text 4) | #8D8D8D (Text 5) |
|---|---|---|---|---|---|
| #A0A0A0 | Gleiche Farbe | 1,25— | 1,53— | 1,85— | 1,27— |
| #B3B3B3 | 1,25— | Gleiche Farbe | 1,23— | 1,49— | 1,58— |
| #C6C6C6 | 1,53— | 1,23— | Gleiche Farbe | 1,21— | 1,94— |
| #D9D9D9 | 1,85— | 1,49— | 1,21— | Gleiche Farbe | 2,35— |
| #8D8D8D | 1,27— | 1,58— | 1,94— | 2,35— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
