In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Pebble Gray — colorset.net */
:root {
--color-1: #9B9B9B;
--color-2: #AFAFAF;
--color-3: #C3C3C3;
--color-4: #D7D7D7;
--color-5: #EBEBEB;
--color-bg: #EBEBEB;
--color-surface: #F2F2F2;
--color-border: #D6D1D2;
--color-text: #4D4D4D;
--color-muted: #686868;
--color-primary: #868686;
--color-on-primary: #000000;
--color-accent: #555555;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #EBEBEB;
--color-muted: #858585;
--color-primary: #9B9B9B;
--color-on-primary: #0F0F0F;
--color-accent: #D7D7D7;
--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 #9B9B9B |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #9B9B9B | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #9B9B9B | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #9B9B9B | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,09: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,67:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,77:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 7,46:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,05:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,25:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,08:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,75:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,19:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 13,32:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,90:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 13,32: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 | #9B9B9B (Text 1) | #AFAFAF (Text 2) | #C3C3C3 (Text 3) | #D7D7D7 (Text 4) | #EBEBEB (Text 5) |
|---|---|---|---|---|---|
| #9B9B9B | Gleiche Farbe | 1,27— | 1,58— | 1,93— | 2,33— |
| #AFAFAF | 1,27— | Gleiche Farbe | 1,24— | 1,52— | 1,84— |
| #C3C3C3 | 1,58— | 1,24— | Gleiche Farbe | 1,22— | 1,48— |
| #D7D7D7 | 1,93— | 1,52— | 1,22— | Gleiche Farbe | 1,21— |
| #EBEBEB | 2,33— | 1,84— | 1,48— | 1,21— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
