You're gonna want to take the HSV value of the color, because that's what the GT Sport color selection tool uses (the numbers you see at the bottom in game).
The only thing you have to do is take the first number of the HSV value and divide it by 3.6, and just copy the 3 numbers onto the color selector. That should be it!