README.md

May 31, 2026 ยท View on GitHub

Website

Srcery Palette

This is the canonical colors for Srcery, a syntax highlighting theme for various editors.

Created using colors that logically adheres to the 16 color base palette of a terminal, while trying to retain its own identity. The colors are designed to be easy on the eyes, yet contrast well with the background for long sessions using an editor or terminal emulator.

Check out ๐ŸŒ srcery.sh and Github for more.

IMGNAMEINDEXHEXRGBHSL
blackblack0#121110rgb(18, 17, 16)hsl(30, 6%, 7%)
redred1#EF2F27rgb(239, 47, 39)hsl(2, 86%, 55%)
greengreen2#519F50rgb(81, 159, 80)hsl(119, 33%, 47%)
yellowyellow3#FBB829rgb(251, 184, 41)hsl(41, 96%, 57%)
blueblue4#2C78BFrgb(44, 120, 191)hsl(209, 63%, 46%)
magentamagenta5#E02C6Drgb(224, 44, 109)hsl(338, 74%, 53%)
cyancyan6#0AAEB3rgb(10, 174, 179)hsl(182, 89%, 37%)
whitewhite7#C5B088rgb(197, 176, 136)hsl(39, 34%, 65%)
bright_blackbright_black8#917E6Brgb(145, 126, 107)hsl(30, 15%, 49%)
bright_redbright_red9#F75341rgb(247, 83, 65)hsl(6, 92%, 61%)
bright_greenbright_green10#98BC37rgb(152, 188, 55)hsl(76, 55%, 48%)
bright_yellowbright_yellow11#FED06Ergb(254, 208, 110)hsl(41, 99%, 71%)
bright_bluebright_blue12#68A8E4rgb(104, 168, 228)hsl(209, 70%, 65%)
bright_magentabright_magenta13#FF5C8Frgb(255, 92, 143)hsl(341, 100%, 68%)
bright_cyanbright_cyan14#2BE4D0rgb(43, 228, 208)hsl(174, 77%, 53%)
bright_whitebright_white15#FCE8C3rgb(252, 232, 195)hsl(39, 90%, 88%)
dark_greendark_green22#294229rgb(41, 66, 41)hsl(120, 23%, 21%)
dark_reddark_red88#4F2321rgb(79, 35, 33)hsl(3, 41%, 22%)
dark_bluedark_blue24#1E5181rgb(30, 81, 129)hsl(209, 62%, 31%)
dim_greendim_greenn/a#2E5C2Ergb(46, 92, 46)hsl(119, 33%, 27%)
orangeorange202#FF5F00rgb(255, 95, 0)hsl(22, 100%, 50%)
bright_orangebright_orange208#FF8700rgb(255, 135, 0)hsl(32, 100%, 50%)
tealteal30#008080rgb(0, 128, 128)hsl(180, 100%, 25%)
gray1gray1n/a#1C1B19rgb(28, 27, 25)hsl(40, 6%, 10%)
gray2gray2n/a#262522rgb(38, 37, 34)hsl(45, 6%, 14%)
gray3gray3n/a#312F2Crgb(49, 47, 44)hsl(36, 5%, 18%)
gray4gray4n/a#3B3935rgb(59, 57, 53)hsl(40, 5%, 22%)
gray5gray5n/a#45433Ergb(69, 67, 62)hsl(43, 5%, 26%)
gray6gray6n/a#504D47rgb(80, 77, 71)hsl(40, 6%, 30%)

Installation

Using git:

git clone https://github.com/srcery-colors/srcery-palette.git

Using npm:

npm i @srcery-colors/srcery-palette

Usage

You can clone or download and use the palette.json however you like:

jq < palette.json '.red.hex'

Or you can use the npm package, which exports palette.json as a JavaScript object:

const palette = require("@srcery-colors/srcery-palette");
console.log(palette.red.hex);
import palette from "@srcery-colors/srcery-palette";
console.log(palette.red.hex);

The package also exports CSS variables that can be imported

@import "@srcery-colors/srcery-palette";
background: var(--srcery-palette-black);

See palette.json for a full list of variable names, but it follows the same structure as demonstrated.