In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Pitch Black — colorset.net */
:root {
--color-1: #000000;
--color-2: #0A0A0A;
--color-3: #141414;
--color-4: #1F1F1F;
--color-5: #2A2A2A;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #000000;
--color-muted: #4A4A4A;
--color-primary: #2A2A2A;
--color-on-primary: #FFFFFF;
--color-accent: #0A0A0A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #979797;
--color-muted: #757575;
--color-primary: #5C5C5C;
--color-on-primary: #FFFFFF;
--color-accent: #8D8D8D;
--color-on-accent: #000000;
}
}
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 #2A2A2A | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #2A2A2A |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | für Kontrast angepasst · aus #2A2A2A |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #2A2A2A |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 19,60:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,94: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,35:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 19,80:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 13,40:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 18,48:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,19:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,19:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,56:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,69:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,33:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,14:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,33:1 | AA 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 | #000000 (Text 1) | #0A0A0A (Text 2) | #141414 (Text 3) | #1F1F1F (Text 4) | #2A2A2A (Text 5) |
|---|---|---|---|---|---|
| #000000 | Gleiche Farbe | 1,06— | 1,14— | 1,27— | 1,46— |
| #0A0A0A | 1,06— | Gleiche Farbe | 1,07— | 1,20— | 1,38— |
| #141414 | 1,14— | 1,07— | Gleiche Farbe | 1,12— | 1,28— |
| #1F1F1F | 1,27— | 1,20— | 1,12— | Gleiche Farbe | 1,15— |
| #2A2A2A | 1,46— | 1,38— | 1,28— | 1,15— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
