I use this php script to get the rgb color from a jpg file:
source: https://stackoverflow.com/a/36321726/8144877
the problem is when the rgb color look like this: rgb(0, 23, 110) then the script returns this hex: 176e and not 00176e
I see that the script not showing the first two zeros, is there a way to showing all the zeros when using dechex to convert rgb to hex?