Skip to content

Instantly share code, notes, and snippets.

@votemike
Created July 11, 2015 18:52
Show Gist options
  • Save votemike/ec87668e3de2e8613c00 to your computer and use it in GitHub Desktop.
Save votemike/ec87668e3de2e8613c00 to your computer and use it in GitHub Desktop.
Basic W3C CSS Colours in json format (it pains me to spell the file colors)
{
"aqua": {
"hex": "#00FFFF",
"rgb": "0,255,255"
},
"black": {
"hex": "#000000",
"rgb": "0,0,0"
},
"blue": {
"hex": "#0000FF",
"rgb": "0,0,255"
},
"fuchsia": {
"hex": "#FF00FF",
"rgb": "255,0,255"
},
"gray": {
"hex": "#808080",
"rgb": "128,128,128"
},
"green": {
"hex": "#008000",
"rgb": "0,128,0"
},
"lime": {
"hex": "#00FF00",
"rgb": "0,255,0"
},
"maroon": {
"hex": "#800000",
"rgb": "128,0,0"
},
"navy": {
"hex": "#000080",
"rgb": "0,0,128"
},
"olive": {
"hex": "#808000",
"rgb": "128,128,0"
},
"purple": {
"hex": "#800080",
"rgb": "128,0,128"
},
"red": {
"hex": "#FF0000",
"rgb": "255,0,0"
},
"silver": {
"hex": "#C0C0C0",
"rgb": "192,192,192"
},
"teal": {
"hex": "#008080",
"rgb": "0,128,128"
},
"white": {
"hex": "#FFFFFF",
"rgb": "255,255,255"
},
"yellow": {
"hex": "#FFFF00",
"rgb": "255,255,0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment