Skip to content

Instantly share code, notes, and snippets.

@marmakoide
Last active March 17, 2021 06:46
Show Gist options
  • Save marmakoide/7fd07c1e85aa7263d3c6d37c253d505d to your computer and use it in GitHub Desktop.
Save marmakoide/7fd07c1e85aa7263d3c6d37c253d505d to your computer and use it in GitHub Desktop.
The nord color scheme as a Python map associating a color name to a RGB triplet
nord_rgb_map = {
"nord0" : (0x2e, 0x34, 0x40), # dark 1 (darkest)
"nord1" : (0x3b, 0x42, 0x52), # dark 2
"nord2" : (0x43, 0x4c, 0x5e), # dark 3
"nord3" : (0x4c, 0x56, 0x6a), # dark 4
"nord4" : (0xd8, 0xde, 0xe9), # bright 1
"nord5" : (0xe5, 0xe9, 0xf0), # bright 2
"nord6" : (0xec, 0xef, 0xf4), # bright 3 (brightest)
"nord7" : (0x8f, 0xbc, 0xbb), # blue 1 (closest to green)
"nord8" : (0x88, 0xc0, 0xd0), # blue 2
"nord9" : (0x81, 0xa1, 0xc1), # blue 3
"nord10" : (0x5e, 0x81, 0xac), # blue 4 (closest to blue)
"nord11" : (0xbf, 0x61, 0x6a), # red
"nord12" : (0xd0, 0x87, 0x70), # orange
"nord13" : (0xeb, 0xcb, 0x8b), # yellow
"nord14" : (0xa3, 0xbe, 0x8c), # green
"nord15" : (0xb4, 0x8e, 0xad) # purple grey
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment