[MENTION=225176]TimoGER[/MENTION], sorry for the delay. Its simple, all you do is divide the RGB code in Photoshop, by 4.07.
For example, the photoshop code is
R: 254 G: 234 B: 0
So I divide 254 by 4.07, and I get 62.4. I do the same for 234 and 0.
In the end I get, 62/57/0.
Its a bit cluttered but I hope it helps.