In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Midnight Steel — colorset.net */
:root {
--color-1: #353839;
--color-2: #36454F;
--color-3: #2F4F4F;
--color-4: #191970;
--color-5: #000000;
--color-bg: #EFF9F9;
--color-surface: #E5F0F0;
--color-border: #C9D8D8;
--color-text: #000000;
--color-muted: #4A4A4A;
--color-primary: #191970;
--color-on-primary: #FFFFFF;
--color-accent: #2F4F4F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #7C9E9E;
--color-muted: #5B7C7C;
--color-primary: #4453AD;
--color-on-primary: #FFFFFF;
--color-accent: #5B5B5B;
--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 #2F4F4F | aus der Palette · Farbe 5 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | für Kontrast angepasst · aus #2F4F4F |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #36454F |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 3 | für Kontrast angepasst · aus #2F4F4F |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 19,59:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 18,05:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 8,27:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 14,85:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,93:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 13,85:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 8,33:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,24:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,24:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,62:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,80:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,79:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,09:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,09: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 | #353839 (Text 1) | #36454F (Text 2) | #2F4F4F (Text 3) | #191970 (Text 4) | #000000 (Text 5) |
|---|---|---|---|---|---|
| #353839 | Gleiche Farbe | 1,19— | 1,32— | 1,26— | 1,78— |
| #36454F | 1,19— | Gleiche Farbe | 1,11— | 1,50— | 2,12— |
| #2F4F4F | 1,32— | 1,11— | Gleiche Farbe | 1,66— | 2,35— |
| #191970 | 1,26— | 1,50— | 1,66— | Gleiche Farbe | 1,41— |
| #000000 | 1,78— | 2,12— | 2,35— | 1,41— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
