Clear heading Body text with a link in it. Button Muted note
Soft Coal
Soft charcoal Text contrast AAA 11.8:1
New: 177 themes, each one tested for readable contrast. Browse them
Soft charcoal · Dark theme
Neutral dark grey with off-white text and blue links, the default look.
Field notes · 4 minute read
How tide pools keep their colour
At low tide the rock holds small pools of sea water. Each one is a link you have not opened, and beside it one you already have. A value such as depth: 12cm sits in a code chip.
A good theme keeps a quote readable without making it shout.
| Pool | Depth | Seen |
|---|---|---|
| North ledge | 12 cm | Anemone, limpets |
| Split rock | 30 cm | Shore crab |
A sample page in Charcoal's ten colours. Compare it live with the other themes.
Body text is #e2e2e2 on #181818, a
contrast of 13.7:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 8.3:1 and muted text at 6.3:1 against the background. The perceptual lightness gap between text and background is 0.70 on a scale from 0 to 1.
Use Charcoal on the sites you open.
Free in Dark Mode Alpha, along with every other theme. Give it to one site or to all of them.
| Colour | Hex | Used for | Copy |
|---|---|---|---|
| Background | #181818 | The page behind everything | |
| Surface | #242424 | Cards, panels and raised areas | |
| Text | #e2e2e2 | Body text and headings | |
| Muted text | #9a9a9a | Captions and secondary text | |
| Link | #73b6fa | Links you have not opened | |
| Visited link | #a586c9 | Links you have opened | |
| Accent | #5fa1f3 | Buttons and highlights | |
| Border | #3e3e3e | Lines and outlines | |
| Selection | #244a6f | Behind text you select | |
| Scrollbar | #363636 | The scrollbar thumb |
/* Charcoal — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #181818;
--dma-surface: #242424;
--dma-text: #e2e2e2;
--dma-muted: #9a9a9a;
--dma-link: #73b6fa;
--dma-visited: #a586c9;
--dma-accent: #5fa1f3;
--dma-border: #3e3e3e;
--dma-selection: #244a6f;
--dma-scrollbar: #363636;
}
Paste the block into your own stylesheet to use these colours, for example
background: var(--dma-background).
| Pair | Ratio | WCAG |
|---|---|---|
| Body text text on background | 13.7:1 | AAA |
| Text on panels text on surface | 12.0:1 | AAA |
| Muted text muted on background | 6.3:1 | AA |
| Links link on background | 8.3:1 | AAA |
| Visited links visited on background | 5.8:1 | AA |
| Accent accent on background | 6.7:1 | AA |
AAA means at least 7:1, AA at least 4.5:1, and "AA large" at least 3:1, which is enough for large text and interface parts but not for body text.
Charcoal belongs to the Soft charcoal family: dark greys instead of black, with off-white text.
Charcoal is an original palette by Carolinas Dev. Palettes that build on open-source work are listed on the credits page.
The closest themes to Charcoal by background, text and link colour.