What determines your player color in CS2?

Set your preferred teammate marker color and check which color you get after the team forms.

What player colors mean

In a team match, the color helps you identify a teammate by their radar marker. The cl_color setting specifies your preference. Check your actual marker after the team forms, since your preference does not guarantee the same color in every match.

How to check your preference

Enter cl_color without a number in the developer console and note the original value. Try cl_color 2, then join a team match and check your marker. To restore your preference, enter the original number.

If only the interface changed

Check which setting you changed. cl_color sets your preferred player marker color. cl_hud_color changes the HUD appearance. Look at the player's radar marker to verify the assigned color.

Sources

Find your next skin