I believe its better to practice than having someone do it for you but 2 ways.
1) In JS get the value the option tag has. if value == "Red" then do this
You would get the element by an id, tag name, etc.
2) add a value attribute in the tag itself. <option value="red"> and in js getAttribute("value") returns that string.
I would personally go with option 2