RGB led only works when the green light is on

I was just wondering if its just a waste trying to make it work,
cause i can make the green work alone and blue and red work only if green is on