Added some color manipulation, ripped off from Marak.colors.js