# How are quarks assigned color charge?

As always, I'll preface that I am wildly undereducated, so i may be overlooking something or be completely unaware of another relevant property.

Color Confinement dictates that to "assemble" a baryon or meson it must be color neutral. Eg q -q, or qqq.

Looking at a proton it has a composition of uud. Let's say those quarks are charged r,g,b respectivley. What is the difference between these two up quarks that their color charge is different?

EDIT: As far as I know the color charge of a quark refers to the strength of the strong field on a given particle. If a quark changes from green to blue, how exactly does this quark experience the strong force differently?