colors.js
colors.js copied to clipboard
Support hexadecimal colors?
var str = "My colored string".hex("#00b8ff")
With or without the "#" is fine.
Thoughts?
Here I found that someone already implemented it for you:
https://github.com/gunderson/colors.js/commit/2b97d28987a3e0bfe7f4e54703b27ff96ff8fa74
You should add it to this repo. :smile:
I'd also like to be able to specify hexdecimal colours, something like:
colors.setTheme({
black: '#000000'
});