If number is 2 then font = red, if number is 3 then font = blue

Is there a way to do this in Excel?

Probably using conditional formatting but I'm not sure how.