50 Dark Themes · 36 / 50

Petrol

A cool accent, #2FB8C6, on a #152528 terminal. Primary text reads at 13.38:1 and secondary text at 6.74:1, measured against that background. Free and MIT licensed, one of the 50 Dark Themes for Claude Code.

Petrol

#2FB8C6
✻ Claude Code · petrol
● Applied theme “Petrol”
  3 files changed · staged
> show me the diff
>theme petrol
/theme  ·  ⏎ send  ·  esc to interrupt

Install Petrol.

Requires Claude Code v2.1.118 or later. The marketplace command is needed once per machine; the plugin command installs the whole 50 Dark Themes pack, and /theme inside Claude Code switches to this one.

$ claude plugin marketplace add notgabriels-sys/claude-code-50-dark-themes
$ claude plugin install 50-dark-themes@notgabriels-themes
$ /theme petrol

Plugin themes are read-only. Press Ctrl+E on one in /theme for an editable copy in ~/.claude/themes/.

Or copy just this file.

One theme, no plugin: fetch petrol.json from the repository into your themes folder. If that folder did not exist when Claude Code started, restart it once.

$ mkdir -p ~/.claude/themes && curl -fsSL https://raw.githubusercontent.com/notgabriels-sys/claude-code-50-dark-themes/main/petrol.json -o ~/.claude/themes/petrol.json

Terminal background: #152528.

Claude Code colours its own interface; the terminal application owns the canvas behind it. Every figure below is measured against #152528, so set that as the terminal background for the result the numbers describe. On a different background the ratios move.

Palette.

The thirteen overrides Claude Code reads from the theme file. Success, error, warning and diff colours are deliberately not overridden, so status meaning stays the same across every theme in the pack.

ColourTokenRole
#2FB8C6claudeClaude's mark and accent
#6BD1DCclaudeShimmerAccent highlight while Claude works
#E8EDEDtextPrimary text
#9DACAFinactiveSecondary text
#283639subtleDecorative hairlines (reserved, carries no meaning)
#2FB8C6suggestionAutocomplete suggestions
#5ACCD8permissionPermission prompt border and indicator
#2FB8C6promptBorderInput prompt border
#6BD1DCpromptBorderShimmerPrompt border highlight
#5ACCD8planModePlan mode indicator
#1C3135userMessageBackgroundSurface behind your messages
#233D42userMessageBackgroundHoverThat surface, hovered
#2FB8C6rate_limit_fillUsage meter fill

Measured contrast.

Computed from the hex values above with the WCAG 2 relative-luminance formula, by the same script that gates every change to this repository. Figures are truncated, never rounded up. Each row meets its floor.

PairColoursRatioFloorStandard
text on terminal background#E8EDED on #15252813.38:17:1WCAG AAA, normal text
text on your-message surface#E8EDED on #1C313511.53:17:1WCAG AAA, normal text
inactive on terminal background#9DACAF on #1525286.74:14.5:1WCAG AA, normal text
inactive on your-message surface#9DACAF on #1C31355.81:14.5:1WCAG AA, normal text
claude on terminal background#2FB8C6 on #1525286.62:14.5:1WCAG AA, normal text
claudeShimmer on terminal background#6BD1DC on #1525288.87:14.5:1WCAG AA, normal text
suggestion on terminal background#2FB8C6 on #1525286.62:14.5:1WCAG AA, normal text
permission on terminal background#5ACCD8 on #1525288.33:13:1WCAG AA, non-text
planMode on terminal background#5ACCD8 on #1525288.33:13:1WCAG AA, non-text
promptBorder on terminal background#2FB8C6 on #1525286.62:13:1WCAG AA, non-text
promptBorderShimmer on terminal background#6BD1DC on #1525288.87:13:1WCAG AA, non-text
rate_limit_fill on terminal background#2FB8C6 on #1525286.62:13:1WCAG AA, non-text
your-message surface against the terminal#1C3135 on #1525281.16:11.08:1visibly distinct surface
hovered surface against the resting one#233D42 on #1C31351.18:11.08:1visibly distinct surface