you can also use the switch function:
Switch(ThisItem.Groupe.Value,
"Choice1", RGBA(255, 0, 0, 1),
"Choice2", RGBA(0, 255, 0, 1),
RGBA(0, 0, 255, 1) // Default color if none of the choices match
)
again you would need to rename to your needs.
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.
Greetings