PreviewingGo to this paletteOpen in generator
Code
/* Gunmetal Fade — colorset.net */
:root {
--color-1: #2F2F2F;
--color-2: #404040;
--color-3: #515151;
--color-4: #626262;
--color-5: #737373;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #2F2F2F;
--color-muted: #6B6B6B;
--color-primary: #737373;
--color-on-primary: #FFFFFF;
--color-accent: #404040;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #A6A6A6;
--color-muted: #818181;
--color-primary: #737373;
--color-on-primary: #FFFFFF;
--color-accent: #A6A6A6;
--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 | adjusted for contrast · from #737373 | adjusted for contrast · from #2F2F2F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #737373 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #737373 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.50:1 | AAA pass 4.5:1 | |
| Text on surface | 11.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.74:1 | AA pass 4.5:1 | |
| Label on accent | 10.37:1 | AAA pass 4.5:1 | |
| Primary on background | 4.43:1 | AA Large pass 3:1 | |
| Accent on background | 9.68:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.74:1 | AA pass 4.5:1 | |
| Label on accent | 7.87:1 | AAA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 7.87: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 | #2F2F2F (Text 1) | #404040 (Text 2) | #515151 (Text 3) | #626262 (Text 4) | #737373 (Text 5) |
|---|---|---|---|---|---|
| #2F2F2F | Same color | 1.29— | 1.69— | 2.19— | 2.82— |
| #404040 | 1.29— | Same color | 1.31— | 1.70— | 2.19— |
| #515151 | 1.69— | 1.31— | Same color | 1.30— | 1.67— |
| #626262 | 2.19— | 1.70— | 1.30— | Same color | 1.29— |
| #737373 | 2.82— | 2.19— | 1.67— | 1.29— | Same color |
Shades
Shades and tints (50–950)
