Fixed issue #4 and fixed hex conversion issue

For the hex issue, when converting to hex, it was not returning the proper two character for r,g, and b for single characters.

Ex. color2color('red','hex') will return '#ff00' which is incorrect. It should be '#ff0000'.