PreviewingGo to this paletteOpen in generator
Code
/* Fade White — colorset.net */
:root {
--color-1: #FFFFFF;
--color-2: #E6E6E6;
--color-3: #CCCCCC;
--color-4: #B3B3B3;
--color-5: #999999;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #535353;
--color-muted: #717171;
--color-primary: #8D8D8D;
--color-on-primary: #000000;
--color-accent: #5C5C5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #999999;
--color-on-primary: #0F0F0F;
--color-accent: #E6E6E6;
--color-on-accent: #0F0F0F;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 1 | adjusted for contrast · from #999999 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #999999 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #999999 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #999999 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 6.33:1 | AA pass 4.5:1 | |
| Label on accent | 6.69:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.69:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.17:1 | AAA pass 4.5:1 | |
| Text on surface | 17.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.93:1 | AA pass 4.5:1 | |
| Label on primary | 6.73:1 | AA pass 4.5:1 | |
| Label on accent | 15.36:1 | AAA pass 4.5:1 | |
| Primary on background | 6.73:1 | AA pass 3:1 | |
| Accent on background | 15.36:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #FFFFFF (Text 1) | #E6E6E6 (Text 2) | #CCCCCC (Text 3) | #B3B3B3 (Text 4) | #999999 (Text 5) |
|---|---|---|---|---|---|
| #FFFFFF | Same color | 1.25— | 1.61— | 2.10— | 2.85— |
| #E6E6E6 | 1.25— | Same color | 1.29— | 1.68— | 2.28— |
| #CCCCCC | 1.61— | 1.29— | Same color | 1.31— | 1.77— |
| #B3B3B3 | 2.10— | 1.68— | 1.31— | Same color | 1.36— |
| #999999 | 2.85— | 2.28— | 1.77— | 1.36— | Same color |
Shades
Shades and tints (50–950)
