2 or 3 LED colors on a single digital pin

R2 and R1 are a voltage divider so the gate on Q4 is at 2.5V, Q4 might turn on.