leading 0s for number to hex method

[0,255,255] would have made '#0ffff'