In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Charcoal Black — colorset.net */
:root {
--color-1: #0A0A0A;
--color-2: #1A1A1A;
--color-3: #2A2A2A;
--color-4: #3A3A3A;
--color-5: #4A4A4A;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #0A0A0A;
--color-muted: #616161;
--color-primary: #4A4A4A;
--color-on-primary: #FFFFFF;
--color-accent: #1A1A1A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0A0A;
--color-surface: #141414;
--color-border: #2A2727;
--color-text: #A1A1A1;
--color-muted: #7E7E7E;
--color-primary: #636363;
--color-on-primary: #FFFFFF;
--color-accent: #959595;
--color-on-accent: #0A0A0A;
}
}
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 #4A4A4A | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #4A4A4A |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | für Kontrast angepasst · aus #4A4A4A |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #4A4A4A |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,48:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,91:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,78:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 8,86:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 17,40:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 8,27:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 16,25:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,66:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,13:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,88:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,01:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,61:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,30:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,61: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 | #0A0A0A (Text 1) | #1A1A1A (Text 2) | #2A2A2A (Text 3) | #3A3A3A (Text 4) | #4A4A4A (Text 5) |
|---|---|---|---|---|---|
| #0A0A0A | Gleiche Farbe | 1,14— | 1,38— | 1,74— | 2,23— |
| #1A1A1A | 1,14— | Gleiche Farbe | 1,21— | 1,53— | 1,96— |
| #2A2A2A | 1,38— | 1,21— | Gleiche Farbe | 1,26— | 1,62— |
| #3A3A3A | 1,74— | 1,53— | 1,26— | Gleiche Farbe | 1,28— |
| #4A4A4A | 2,23— | 1,96— | 1,62— | 1,28— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
