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:

Filed under: 
© 2021 - FreshLondon