Neopixel (WS2812) Gamma correction (make the brightness linear)

https://learn.adafruit.com/led-tricks-gamma-correction?view=all

Note: Not tested.