In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Walnut Dark — colorset.net */
:root {
--color-1: #2B1C15;
--color-2: #3E2A1F;
--color-3: #513829;
--color-4: #644633;
--color-5: #77543D;
--color-bg: #FFF4EE;
--color-surface: #F7EBE3;
--color-border: #E1D1C7;
--color-text: #2B1C15;
--color-muted: #7A675F;
--color-primary: #77543D;
--color-on-primary: #FFFFFF;
--color-accent: #3E2A1F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2B1C15;
--color-surface: #372720;
--color-border: #4F3B32;
--color-text: #D4B29C;
--color-muted: #A68C7B;
--color-primary: #926E56;
--color-on-primary: #FFFFFF;
--color-accent: #C4A38D;
--color-on-accent: #2B1C15;
}
}
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 #77543D | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #77543D |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | für Kontrast angepasst · aus #77543D |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #77543D |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,18:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,03: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,73:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 13,50:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,23:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,49:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 8,32:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,23:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,20:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,58:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,01:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,58:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,01: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 | #2B1C15 (Text 1) | #3E2A1F (Text 2) | #513829 (Text 3) | #644633 (Text 4) | #77543D (Text 5) |
|---|---|---|---|---|---|
| #2B1C15 | Gleiche Farbe | 1,22— | 1,52— | 1,93— | 2,44— |
| #3E2A1F | 1,22— | Gleiche Farbe | 1,25— | 1,58— | 2,01— |
| #513829 | 1,52— | 1,25— | Gleiche Farbe | 1,27— | 1,60— |
| #644633 | 1,93— | 1,58— | 1,27— | Gleiche Farbe | 1,27— |
| #77543D | 2,44— | 2,01— | 1,60— | 1,27— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
