Added padding in rgb_to_hex