In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Polished Nickel — colorset.net */
:root {
--color-1: #C0C0C0;
--color-2: #CDCDCD;
--color-3: #DADADA;
--color-4: #E7E7E7;
--color-5: #F4F4F4;
--color-bg: #F4F4F4;
--color-surface: #FBFBFB;
--color-border: #DEDADB;
--color-text: #525252;
--color-muted: #6F6F6F;
--color-primary: #8B8B8B;
--color-on-primary: #000000;
--color-accent: #5A5A5A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #F4F4F4;
--color-muted: #8A8A8A;
--color-primary: #C0C0C0;
--color-on-primary: #0F0F0F;
--color-accent: #DADADA;
--color-on-accent: #0F0F0F;
}
}
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 | für Kontrast angepasst · aus #C0C0C0 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #C0C0C0 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #C0C0C0 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #C0C0C0 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,10:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,55:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,57:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,16:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,90:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,10:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,27:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,43:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,99:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,55:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 10,54:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 13,71:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 10,54:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 13,71: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 | #C0C0C0 (Text 1) | #CDCDCD (Text 2) | #DADADA (Text 3) | #E7E7E7 (Text 4) | #F4F4F4 (Text 5) |
|---|---|---|---|---|---|
| #C0C0C0 | Gleiche Farbe | 1,14— | 1,30— | 1,47— | 1,65— |
| #CDCDCD | 1,14— | Gleiche Farbe | 1,14— | 1,29— | 1,45— |
| #DADADA | 1,30— | 1,14— | Gleiche Farbe | 1,13— | 1,27— |
| #E7E7E7 | 1,47— | 1,29— | 1,13— | Gleiche Farbe | 1,12— |
| #F4F4F4 | 1,65— | 1,45— | 1,27— | 1,12— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
