In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Midnight Gray — colorset.net */
:root {
--color-1: #2F4F4F;
--color-2: #3A5A5A;
--color-3: #456565;
--color-4: #507070;
--color-5: #5B7B7B;
--color-bg: #EFF9F9;
--color-surface: #E6F0F0;
--color-border: #CAD8D8;
--color-text: #2F4F4F;
--color-muted: #507171;
--color-primary: #5B7B7B;
--color-on-primary: #FFFFFF;
--color-accent: #456565;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #8AACAC;
--color-muted: #698A8A;
--color-primary: #5B7B7B;
--color-on-primary: #FFFFFF;
--color-accent: #91AEAE;
--color-on-accent: #071111;
}
}
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 #5B7B7B | für Kontrast angepasst · aus #2F4F4F |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #5B7B7B |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 3 | für Kontrast angepasst · aus #5B7B7B |
| 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 | 4,60:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,36:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,29:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 5,93:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,82: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,11:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,60:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,08:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,16:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,08: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 | #2F4F4F (Text 1) | #3A5A5A (Text 2) | #456565 (Text 3) | #507070 (Text 4) | #5B7B7B (Text 5) |
|---|---|---|---|---|---|
| #2F4F4F | Gleiche Farbe | 1,19— | 1,40— | 1,65— | 1,94— |
| #3A5A5A | 1,19— | Gleiche Farbe | 1,18— | 1,40— | 1,64— |
| #456565 | 1,40— | 1,18— | Gleiche Farbe | 1,18— | 1,38— |
| #507070 | 1,65— | 1,40— | 1,18— | Gleiche Farbe | 1,17— |
| #5B7B7B | 1,94— | 1,64— | 1,38— | 1,17— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
