use the correct offset into the source image to determine basecolor.