A lot of art software has a feature called "clipping" if the layer above another is clipping then whatever is on the clipping layer goes onto the layer below, but only places where there is already color. This way you can re-color lineart to whatever you want.
Then again, you can just use black on a black outline anyways, it doesn't always end up that bad