The problem with all gelcoat is that it fades over time so colour matching is a bit of trial and error.
It may be useful if you had a photo of the area to be repaired.
For white I have found using brilliant white gelcoat with a tiny amount of sunset yellow is the way to find the right colour.
For colour, we updated our 1989 boat from the red and grey to a dark blue.