Skip to content

Instantly share code, notes, and snippets.

@marmakoide
Last active March 17, 2021 06:46
Show Gist options
  • Save marmakoide/043d588e6195894fdacd380b106835ed to your computer and use it in GitHub Desktop.
Save marmakoide/043d588e6195894fdacd380b106835ed to your computer and use it in GitHub Desktop.
The solarized color scheme as a Python map associating a color name to a RGB triplet
solarized_rgb_map = {
"base03" : (0x00, 0x2b, 0x36),
"base02" : (0x07, 0x36, 0x42),
"base01" : (0x58, 0x6e, 0x75),
"base00" : (0x65, 0x7b, 0x83),
"base0" : (0x83, 0x94, 0x96),
"base1" : (0x93, 0xa1, 0xa1),
"base2" : (0xee, 0xe8, 0xd5),
"base3" : (0xfd, 0xf6, 0xe3),
"yellow" : (0xb5, 0x89, 0x00),
"orange" : (0xcb, 0x4b, 0x16),
"red" : (0xdc, 0x32, 0x2f),
"magenta" : (0xd3, 0x36, 0x82),
"violet" : (0x6c, 0x71, 0xc4),
"blue" : (0x26, 0x8b, 0xd2),
"cyan" : (0x2a, 0xa1, 0x98),
"green" : (0x85, 0x99, 0x00)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment