In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Syntax Night — colorset.net */
:root {
--color-1: #10131A;
--color-2: #7FA7F5;
--color-3: #F0B86E;
--color-4: #283041;
--color-5: #E3E7EF;
--color-bg: #F5F7F9;
--color-surface: #ECEDF0;
--color-border: #D2D5DB;
--color-text: #10131A;
--color-muted: #646871;
--color-primary: #5075BF;
--color-on-primary: #FFFFFF;
--color-accent: #9F6B19;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #10131A;
--color-surface: #1A1D25;
--color-border: #2D323D;
--color-text: #E3E7EF;
--color-muted: #81858C;
--color-primary: #7FA7F5;
--color-on-primary: #10131A;
--color-accent: #F0B86E;
--color-on-accent: #10131A;
}
}
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 #E3E7EF | 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 #7FA7F5 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #F0B86E | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,30:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,87:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,20:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,53:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,57:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,22:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,26:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,99:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,59:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,01:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 7,74:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,43:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 7,74:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,43: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 | #10131A (Text 1) | #7FA7F5 (Text 2) | #F0B86E (Text 3) | #283041 (Text 4) | #E3E7EF (Text 5) |
|---|---|---|---|---|---|
| #10131A | Gleiche Farbe | 7,74AAA | 10,43AAA | 1,41— | 14,99AAA |
| #7FA7F5 | 7,74AAA | Gleiche Farbe | 1,35— | 5,50AA | 1,94— |
| #F0B86E | 10,43AAA | 1,35— | Gleiche Farbe | 7,42AAA | 1,44— |
| #283041 | 1,41— | 5,50AA | 7,42AAA | Gleiche Farbe | 10,66AAA |
| #E3E7EF | 14,99AAA | 1,94— | 1,44— | 10,66AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
