RGB led only works when the green light is on

There are 3 possible reasons:

  1. you have it wired up wrong
  2. the device is broken
  3. all of the above