In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Slate Dark — colorset.net */
:root {
--color-1: #2F4F4F;
--color-2: #436363;
--color-3: #577777;
--color-4: #6B8B8B;
--color-5: #7F9F9F;
--color-bg: #EFF9F9;
--color-surface: #E6F0F0;
--color-border: #CAD8D8;
--color-text: #2F4F4F;
--color-muted: #507171;
--color-primary: #6B8B8B;
--color-on-primary: #000000;
--color-accent: #436363;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #8BABAB;
--color-muted: #6A8A8A;
--color-primary: #6B8B8B;
--color-on-primary: #071111;
--color-accent: #4D6E6E;
--color-on-accent: #FFFFFF;
}
}
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 #7F9F9F | für Kontrast angepasst · aus #2F4F4F |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #7F9F9F |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 4 | aus der Palette · Farbe 4 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #577777 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 8,33:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,69:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,97:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,69:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,56:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,44:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,11:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,76:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,05:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,12:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,19:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,57:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,19:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,44:1 | AA groß 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 | #2F4F4F (Text 1) | #436363 (Text 2) | #577777 (Text 3) | #6B8B8B (Text 4) | #7F9F9F (Text 5) |
|---|---|---|---|---|---|
| #2F4F4F | Gleiche Farbe | 1,36— | 1,83— | 2,42— | 3,13AA groß |
| #436363 | 1,36— | Gleiche Farbe | 1,35— | 1,78— | 2,30— |
| #577777 | 1,83— | 1,35— | Gleiche Farbe | 1,32— | 1,71— |
| #6B8B8B | 2,42— | 1,78— | 1,32— | Gleiche Farbe | 1,29— |
| #7F9F9F | 3,13AA groß | 2,30— | 1,71— | 1,29— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
