PreviewingGo to this paletteOpen in generator
Code
/* Chrome Black — colorset.net */
:root {
--color-1: #121212;
--color-2: #1E1E1E;
--color-3: #2A2A2A;
--color-4: #363636;
--color-5: #424242;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #121212;
--color-muted: #676767;
--color-primary: #424242;
--color-on-primary: #FFFFFF;
--color-accent: #1E1E1E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121212;
--color-surface: #1C1C1C;
--color-border: #333031;
--color-text: #A7A7A7;
--color-muted: #868686;
--color-primary: #696969;
--color-on-primary: #FFFFFF;
--color-accent: #9B9B9B;
--color-on-accent: #121212;
}
}
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 #424242 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #424242 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #424242 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #424242 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 16.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 10.05:1 | AAA pass 4.5:1 | |
| Label on accent | 16.67:1 | AAA pass 4.5:1 | |
| Primary on background | 9.38:1 | AAA pass 3:1 | |
| Accent on background | 15.56:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 5.49:1 | AA pass 4.5:1 | |
| Label on accent | 6.74:1 | AA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 6.74:1 | AA 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 | #121212 (Text 1) | #1E1E1E (Text 2) | #2A2A2A (Text 3) | #363636 (Text 4) | #424242 (Text 5) |
|---|---|---|---|---|---|
| #121212 | Same color | 1.12— | 1.31— | 1.55— | 1.86— |
| #1E1E1E | 1.12— | Same color | 1.16— | 1.38— | 1.66— |
| #2A2A2A | 1.31— | 1.16— | Same color | 1.19— | 1.43— |
| #363636 | 1.55— | 1.38— | 1.19— | Same color | 1.20— |
| #424242 | 1.86— | 1.66— | 1.43— | 1.20— | Same color |
Shades
Shades and tints (50–950)
