Dimming 4 LEDs with 1 PWM pin

To keep the code simple I found this Texas Instruments AND gate IC. ($2.78 at Digi-Key

Wow - that chip should be less than $0.50