Complicated categorial colouring

To give a simple example, say that I have footballers in a 2D scatterplot. These are in one of three groups: A, B, C.

A = Red color
B = Blue color
C = Green color

Now comes the complicated part:
Say that each footballer has an attribute “goals scored”. The more goals scored, the darker the color I want. So for example, if a player on team A has scored 10 goals then the red colour should be darker then for a player on team A with only 4 goals scored.

Is this possible?

Thank you!

Here’s what I would do: