In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Slate Residence — colorset.net */
:root {
--color-1: #F3F5F8;
--color-2: #454E58;
--color-3: #609378;
--color-4: #A9AFB4;
--color-5: #171B1F;
--color-bg: #F3F5F8;
--color-surface: #FBFCFE;
--color-border: #D8DCE3;
--color-text: #171B1F;
--color-muted: #696E73;
--color-primary: #609378;
--color-on-primary: #171B1F;
--color-accent: #8A8C8F;
--color-on-accent: #171B1F;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #171B1F;
--color-surface: #21262A;
--color-border: #353B42;
--color-text: #F3F5F8;
--color-muted: #8F9193;
--color-primary: #609378;
--color-on-primary: #171B1F;
--color-accent: #6A6F74;
--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 | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 3 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #609378 | für Kontrast angepasst · aus #609378 |
| 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,87:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,71:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,13:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,24:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,09: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 | 13,98:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,47:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,07:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,90:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,41: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 | #F3F5F8 (Text 1) | #454E58 (Text 2) | #609378 (Text 3) | #A9AFB4 (Text 4) | #171B1F (Text 5) |
|---|---|---|---|---|---|
| #F3F5F8 | Gleiche Farbe | 7,74AAA | 3,24AA groß | 2,03— | 15,85AAA |
| #454E58 | 7,74AAA | Gleiche Farbe | 2,39— | 3,82AA groß | 2,05— |
| #609378 | 3,24AA groß | 2,39— | Gleiche Farbe | 1,60— | 4,90AA |
| #A9AFB4 | 2,03— | 3,82AA groß | 1,60— | Gleiche Farbe | 7,81AAA |
| #171B1F | 15,85AAA | 2,05— | 4,90AA | 7,81AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
