NeoPixel.gamma8()

An 8-bit gamma-correction function for basic pixel brightness adjustment. Makes color transitions appear more perceptially correct. NeoPixel.gamma8(x)
x: Input brightness, 0 (minimum or off/black) to 255 (maximum). 8 bit - Gamma-adjusted brightness. This uses a fixed gamma correction exponent of 2.6, which seems reasonably okay for average NeoPixels in average tasks. If you need finer control you'll need to provide your own gamma-correction function instead.