In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Onyx Exchange — colorset.net */
:root {
--color-1: #111315;
--color-2: #E3B341;
--color-3: #4D9DE0;
--color-4: #2A2D31;
--color-5: #EDEDE8;
--color-bg: #EDEDE8;
--color-surface: #F4F4F1;
--color-border: #D5D5CC;
--color-text: #111315;
--color-muted: #626567;
--color-primary: #277BBC;
--color-on-primary: #FFFFFF;
--color-accent: #936E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111315;
--color-surface: #1B1D1F;
--color-border: #2E3237;
--color-text: #EDEDE8;
--color-muted: #888884;
--color-primary: #4D9DE0;
--color-on-primary: #111315;
--color-accent: #E3B341;
--color-on-accent: #111315;
}
}
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 | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #4D9DE0 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #E3B341 | aus der Palette · Farbe 2 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,85:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,90:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,52:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,70:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,85:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,00:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,85:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,39:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,23:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,40:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,57:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,40:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,57: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 | #111315 (Text 1) | #E3B341 (Text 2) | #4D9DE0 (Text 3) | #2A2D31 (Text 4) | #EDEDE8 (Text 5) |
|---|---|---|---|---|---|
| #111315 | Gleiche Farbe | 9,57AAA | 6,40AA | 1,35— | 15,85AAA |
| #E3B341 | 9,57AAA | Gleiche Farbe | 1,50— | 7,11AAA | 1,66— |
| #4D9DE0 | 6,40AA | 1,50— | Gleiche Farbe | 4,75AA | 2,48— |
| #2A2D31 | 1,35— | 7,11AAA | 4,75AA | Gleiche Farbe | 11,78AAA |
| #EDEDE8 | 15,85AAA | 1,66— | 2,48— | 11,78AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
