Hi @aan,
This is only possible with Revit 2022.0.1 and the last version of the Genius Loci package.
This must be done in 2 steps: Obtain the colors and change the names of the rooms.
Then change the colors of the updated rooms.
Here is an example :