PHP – Convert HEX to RGB

Below function takes hex code (e.g. #eeeeee), returns array of RGB values.

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.