php functions convert hex to rgb and rgb to hex