Skip to content

Instantly share code, notes, and snippets.

@lbv
Last active December 15, 2015 20:19
Show Gist options
  • Save lbv/5317690 to your computer and use it in GitHub Desktop.
Save lbv/5317690 to your computer and use it in GitHub Desktop.
Tango colors
/**
* Palette of basic colors, based on the Tango Icon Theme
* Guidelines.
*/
// In hexadecimal
var $colors = {
yellow : [ 0xfce94f, 0xedd400, 0xc4a000 ],
orange : [ 0xfcaf3e, 0xf57900, 0xce5c00 ],
brown : [ 0xe9b96e, 0xc17d11, 0x8f5902 ],
green : [ 0x8ae234, 0x73d216, 0x4e9a06 ],
blue : [ 0x729fcf, 0x3465a4, 0x204a87 ],
purple : [ 0xad7fa8, 0x75507b, 0x5c3566 ],
red : [ 0xef2929, 0xcc0000, 0xa40000 ],
gray1 : [ 0xeeeeec, 0xd3d7cf, 0xbabdb6 ],
gray2 : [ 0x888a85, 0x555753, 0x2e3436 ],
white : 0xffffff,
black : 0x000000
};
// In decimal
var $colors = {
yellow: [ [ 252, 233, 79 ], [ 237, 212, 0 ], [ 196, 160, 0 ] ],
orange: [ [ 252, 175, 62 ], [ 245, 121, 0 ], [ 206, 92, 0 ] ],
brown: [ [ 233, 185, 110 ], [ 193, 125, 17 ], [ 143, 89, 2 ] ],
green: [ [ 138, 226, 52 ], [ 115, 210, 22 ], [ 78, 154, 6 ] ],
blue: [ [ 114, 159, 207 ], [ 52, 101, 164 ], [ 32, 74, 135 ] ],
purple: [ [ 173, 127, 168 ], [ 117, 80, 123 ], [ 92, 53, 102 ] ],
red: [ [ 239, 41, 41 ], [ 204, 0, 0 ], [ 164, 0, 0 ] ],
gray1: [ [ 238, 238, 236 ], [ 211, 215, 207 ], [ 186, 189, 182 ] ],
gray2: [ [ 136, 138, 133 ], [ 85, 87, 83 ], [ 46, 52, 54 ] ],
white: [ 255, 255, 255 ],
black: [ 0, 0, 0 ]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment