RGB LED Help!

So recently my Arduino Starter Kit came in the mail and I was and still am hype.
I was researching and put together a little RGB light thing. I believe the my code has no issues but when ever I try to activate the blue LED or pin it is green. And I even checked the female pins on my Arduino Uno.

Here's the code:

int redPin=11; // sets red LED pin to 11
int greenPin=9; // sets green LED pin to 10
int bluePin=6; // sets blue LED pin to 6
int brightness=75; // sets brightness to 75

void setup() {
// put your setup code here, to run once:

Serial.begin(9600); // turns on serial port
pinMode(redPin, OUTPUT); // sets redPin to be output
pinMode(greenPin, OUTPUT); // sets greenPin to be output
pinMode(bluePin, OUTPUT); // sets bluePin to be output

}

void loop() {
// displays green, (greenPin, 0)

analogWrite(redPin, 0); // turns off redPin
analogWrite(greenPin, 0); // turns off greenPin
analogWrite(bluePin, brightness); // trurns 75 to bluePin
}

I really hope some one can come to my with a solution! :grinning:

Are you using a single LED that has 4 legs, or 3 separate LEDs?
If you can make each color come on, but just out of order, then you just have your colors labeled wrong.

INTP:
Are you using a single LED that has 4 legs, or 3 separate LEDs?
If you can make each color come on, but just out of order, then you just have your colors labeled wrong.

Thanks for the reply, I did fix it.

Good luck