Here is a simple color picker to use from HSB and RGB to HEX and vice versa.
http://johndyer.name/lab/colorpicker/