Created
March 17, 2021 07:12
-
-
Save marmakoide/ca57e5417a4ce5ee5384254376d0a68a to your computer and use it in GitHub Desktop.
The base16 color scheme as a Python map associating a color name to a RGB triplet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base16_rgb_map = { | |
"base00" : (0x15, 0x15, 0x15), # Default Background | |
"base01" : (0x20, 0x20, 0x20), # Lighter Background (Used for status bars, line number and folding marks) | |
"base02" : (0x30, 0x30, 0x30), # Selection Background | |
"base03" : (0x50, 0x50, 0x50), # Comments, Invisibles, Line Highlighting | |
"base04" : (0xb0, 0xb0, 0xb0), # Dark Foreground (Used for status bars) | |
"base05" : (0xd0, 0xd0, 0xd0), # Default Foreground, Caret, Delimiters, Operators | |
"base06" : (0xe0, 0xe0, 0xe0), # Light Foreground (Not often used) | |
"base07" : (0xf5, 0xf5, 0xf5), # Light Background (Not often used) | |
"base08" : (0xac, 0x41, 0x42), # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted | |
"base09" : (0xd2, 0x84, 0x45), # Integers, Boolean, Constants, XML Attributes, Markup Link Url | |
"base0a" : (0xf4, 0xbf, 0x75), # Classes, Markup Bold, Search Text Background | |
"base0b" : (0x90, 0xa9, 0x59), # Strings, Inherited Class, Markup Code, Diff Inserted | |
"base0c" : (0x75, 0xb5, 0xaa), # Support, Regular Expressions, Escape Characters, Markup Quotes | |
"base0d" : (0x6a, 0x9f, 0xb5), # Functions, Methods, Attribute IDs, Headings | |
"base0e" : (0xaa, 0x75, 0x9f), # Keywords, Storage, Selector, Markup Italic, Diff Changed | |
"base0f" : (0x8f, 0x55, 0x36) # Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment