added hexToRGB method in utils