I do know some coding although I honestly still don't know how color values work, but still if you have got your hex code you can just use a picker (I found this one https://hslpicker.com/) where you can just enter your hex code on the bottom left and get the values on the right. I hope I helped! Good luck with your mod!