In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Cool Grey — colorset.net */
:root {
--color-1: #708090;
--color-2: #7A8A9A;
--color-3: #8494A4;
--color-4: #8E9EAE;
--color-5: #98A8B8;
--color-bg: #F2F7FD;
--color-surface: #E9EEF3;
--color-border: #CED6DE;
--color-text: #414F5E;
--color-muted: #5D6C7C;
--color-primary: #708090;
--color-on-primary: #000000;
--color-accent: #434F5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1015;
--color-surface: #151A1F;
--color-border: #272F36;
--color-text: #98A8B8;
--color-muted: #768695;
--color-primary: #708090;
--color-on-primary: #0B1015;
--color-accent: #8494A4;
--color-on-accent: #0B1015;
}
}
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 #98A8B8 | für Kontrast angepasst · aus #708090 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #708090 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 1 | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #708090 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,78:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,18:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,18:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 8,36:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,76:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 7,76:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,85:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,19:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,11:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,71:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,14:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,71:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,14:1 | AA 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 | #708090 (Text 1) | #7A8A9A (Text 2) | #8494A4 (Text 3) | #8E9EAE (Text 4) | #98A8B8 (Text 5) |
|---|---|---|---|---|---|
| #708090 | Gleiche Farbe | 1,14— | 1,30— | 1,48— | 1,67— |
| #7A8A9A | 1,14— | Gleiche Farbe | 1,14— | 1,29— | 1,46— |
| #8494A4 | 1,30— | 1,14— | Gleiche Farbe | 1,13— | 1,28— |
| #8E9EAE | 1,48— | 1,29— | 1,13— | Gleiche Farbe | 1,13— |
| #98A8B8 | 1,67— | 1,46— | 1,28— | 1,13— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
