rgb-to-hex.js faster & smaller

around [2x faster](http://jsperf.com/rgbtohex/8)
works [as expected](http://jsbin.com/UPUmaGOc/2/edit?js,console)
removed 3 variables