Convert a hexadecimal color string to rgb / rgba string with PHP

Here we have the function for the color conversion:

..and here's the usage:

© 2021 - FreshLondon