Transistor, PWM and LEDs

That is not a good circuit.

Every LED (or serial chain of LEDs) should have its own current limiting resistor. You should not share one resistor between multiple paralleled LEDs.

The way you have it now you will get uneven brightnesses, and some LEDs may not even light up.