Firework photos require the shutter be open for long periods. Ambient light can creep in between bursts of exploding visual goodness. Prevent this by holding a black card over the lens until the streak of firework heads into the sky. Remove the card. When the burst is finished cover the lens once again.