Clear heading Body text with a link in it. Button Muted note
Storm Navy
Developer classics Text contrast AAA 10.0:1
New: 177 themes, each one tested for readable contrast. Browse them
Developer classics · Dark theme
Blue-slate background with cream-grey text, pale blue links and a warm yellow accent.
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 Dusk Amber's ten colours. Compare it live with the other themes.
Body text is #d6d4cc on #1f2430, a
contrast of 10.5:1. That passes the stricter WCAG AAA level for body text (7:1).
Links come out at 9.0:1 and muted text at 4.8:1 against the background. The perceptual lightness gap between text and background is 0.61 on a scale from 0 to 1.
Use Dusk Amber 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 | #1f2430 | The page behind everything | |
| Surface | #242936 | Cards, panels and raised areas | |
| Text | #d6d4cc | Body text and headings | |
| Muted text | #858fa2 | Captions and secondary text | |
| Link | #73d0ff | Links you have not opened | |
| Visited link | #e5ccfe | Links you have opened | |
| Accent | #ffcc66 | Buttons and highlights | |
| Border | #3b4354 | Lines and outlines | |
| Selection | #2e4463 | Behind text you select | |
| Scrollbar | #343b4b | The scrollbar thumb |
/* Dusk Amber — Dark Mode Alpha */
:root {
color-scheme: dark;
--dma-background: #1f2430;
--dma-surface: #242936;
--dma-text: #d6d4cc;
--dma-muted: #858fa2;
--dma-link: #73d0ff;
--dma-visited: #e5ccfe;
--dma-accent: #ffcc66;
--dma-border: #3b4354;
--dma-selection: #2e4463;
--dma-scrollbar: #343b4b;
}
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 | 10.5:1 | AAA |
| Text on panels text on surface | 9.8:1 | AAA |
| Muted text muted on background | 4.8:1 | AA |
| Links link on background | 9.0:1 | AAA |
| Visited links visited on background | 10.6:1 | AAA |
| Accent accent on background | 10.4:1 | AAA |
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.
Dusk Amber belongs to the Developer classics family: looks based on well-known open-source editor palettes, adjusted to meet our contrast rules.
The colours of Dusk Amber are inspired by the open-source palette ayu mirage by Konstantin Pschera , published under the MIT licence. The name, the adjustments and the contrast checks are ours.
The closest themes to Dusk Amber by background, text and link colour.