In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Driftwood Ash — colorset.net */
:root {
--color-1: #848482;
--color-2: #9A9A98;
--color-3: #B0B0AE;
--color-4: #C6C6C4;
--color-5: #DCDCDA;
--color-bg: #F7F7F6;
--color-surface: #EDEDED;
--color-border: #D5D5D1;
--color-text: #4E4E4C;
--color-muted: #6A6A68;
--color-primary: #848482;
--color-on-primary: #000000;
--color-accent: #535352;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #2E2E2B;
--color-text: #DCDCDA;
--color-muted: #838381;
--color-primary: #848482;
--color-on-primary: #0F0F0F;
--color-accent: #C6C6C4;
--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 #DCDCDA | für Kontrast angepasst · aus #848482 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #848482 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 1 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #848482 | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,78:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,12:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,06:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,60:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,70:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,50:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,18:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,96:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,80: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,12:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,21:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,12:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,21: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 | #848482 (Text 1) | #9A9A98 (Text 2) | #B0B0AE (Text 3) | #C6C6C4 (Text 4) | #DCDCDA (Text 5) |
|---|---|---|---|---|---|
| #848482 | Gleiche Farbe | 1,33— | 1,73— | 2,19— | 2,73— |
| #9A9A98 | 1,33— | Gleiche Farbe | 1,30— | 1,65— | 2,05— |
| #B0B0AE | 1,73— | 1,30— | Gleiche Farbe | 1,27— | 1,58— |
| #C6C6C4 | 2,19— | 1,65— | 1,27— | Gleiche Farbe | 1,25— |
| #DCDCDA | 2,73— | 2,05— | 1,58— | 1,25— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
