For the responsive gradient, I merged a copy of the two pieces, applied the desired gradient, then sampled the connecting pixel. In this case, both pieces had the same HEX color. I applied a separate gradient to each piece, matching that color at the connection point.