Adds color parsing

Special thanks to @eirikb for developing this module in weechat.js