In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Pixel Colors — colorset.net */
:root {
--color-1: #8B4513;
--color-2: #228B22;
--color-3: #1E90FF;
--color-4: #FF4500;
--color-5: #9932CC;
--color-bg: #FFF4F1;
--color-surface: #FAE9E4;
--color-border: #E5D0CA;
--color-text: #76401C;
--color-muted: #7F6557;
--color-primary: #9932CC;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #C29A90;
--color-muted: #997B73;
--color-primary: #9932CC;
--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 #1E90FF | für Kontrast angepasst · aus #8B4513 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #8B4513 | für Kontrast angepasst · aus #FF4500 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | aus der Palette · Farbe 5 |
| 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 | 7,72:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,08:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,99:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,70:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,57:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,28:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,24:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,62:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,01:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,98:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,70:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,57:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,37:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,21: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 | #8B4513 (Text 1) | #228B22 (Text 2) | #1E90FF (Text 3) | #FF4500 (Text 4) | #9932CC (Text 5) |
|---|---|---|---|---|---|
| #8B4513 | Gleiche Farbe | 1,62— | 2,19— | 2,06— | 1,24— |
| #228B22 | 1,62— | Gleiche Farbe | 1,36— | 1,28— | 1,30— |
| #1E90FF | 2,19— | 1,36— | Gleiche Farbe | 1,06— | 1,76— |
| #FF4500 | 2,06— | 1,28— | 1,06— | Gleiche Farbe | 1,66— |
| #9932CC | 1,24— | 1,30— | 1,76— | 1,66— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
