RGB LED color changing

Can you be more precise, what happens and what did you expect to happen?

I tried changing the code as you said, and was hoping for the led to change to the right colors, such as the orange.

But the led is still lighting the same colors as before.

The orange is still just the red and green lighting together equally.