Skip to content

Instantly share code, notes, and snippets.

@shanimal
Created February 12, 2016 10:12
Show Gist options
  • Save shanimal/9e91c4c7790d3b2b00eb to your computer and use it in GitHub Desktop.
Save shanimal/9e91c4c7790d3b2b00eb to your computer and use it in GitHub Desktop.
/* global module */
'use strict';
module.exports = {
"reset" : "\033[0m",
"hicolor" : "\033[1m",
"underline" : "\033[4m",
"inverse" : "\033[7m",
// foreground colors
"black" : "\033[30m",
"red" : "\033[31m",
"green" : "\033[32m",
"yellow" : "\033[33m",
"blue" : "\033[34m",
"magenta" : "\033[35m",
"cyan" : "\033[36m",
"white" : "\033[37m",
// background colors
"bg_black" : "\033[40m",
"bg_red" : "\033[41m",
"bg_green" : "\033[42m",
"bg_yellow" : "\033[43m",
"bg_blue" : "\033[44m",
"bg_magenta" : "\033[45m",
"bg_cyan" : "\033[46m",
"bg_white" : "\033[47m"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment