Linear-interpolated lighting

Uses a simple linear interpolation between the palette RGB color and #000 instead of relying on the COLORMAP lookup tables. Produces a much smoother darkening effect without banding or graying out.

Based on work from my PR #7.