How do I assign words to values in excel?

I'm looking to use excel to assign various words according to where values fall between ranges.
Eg if <10 red
If between 10 and 20 blue
If >20 greens

I've been messing with the IF command but its not coming out as I want
How do I assign words to values in excel?
Post Opinion