Closed issue #25. The problem was that I wasn't taking the correct x pixel coordinate, so color values were not being pulled from the gradient but rather from the black space to the side of the gradient. Removed extra code from wm_utils.