In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Dark Jewel — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #000080;
--color-3: #228B22;
--color-4: #FFD700;
--color-5: #8B008B;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #0F2352;
--color-muted: #5F6B83;
--color-primary: #8B008B;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #A92FA7;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--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 #FFD700 | für Kontrast angepasst · aus #000080 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #000080 | für Kontrast angepasst · aus #FFD700 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | für Kontrast angepasst · aus #8B008B |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #228B22 | für Kontrast angepasst · aus #228B22 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,16:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,04:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 8,50:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,57:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 7,92:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,26:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 13,65:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 12,53:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,96:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,75:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,57:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,32:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,18: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 | #8B0000 (Text 1) | #000080 (Text 2) | #228B22 (Text 3) | #FFD700 (Text 4) | #8B008B (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Gleiche Farbe | 1,60— | 2,28— | 7,14AAA | 1,18— |
| #000080 | 1,60— | Gleiche Farbe | 3,65AA groß | 11,41AAA | 1,88— |
| #228B22 | 2,28— | 3,65AA groß | Gleiche Farbe | 3,13AA groß | 1,94— |
| #FFD700 | 7,14AAA | 11,41AAA | 3,13AA groß | Gleiche Farbe | 6,06AA |
| #8B008B | 1,18— | 1,88— | 1,94— | 6,06AA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
