Bunch of RGB to Hex and Hex to RGB convert javascript functions what works well in Photoshop