Let’s imagine we want to draw a piece of a Predator.
The Predators body is covered with a mesh with a camouflage background.
Ok, that’s not the whole truth.
For those of you who never met a Predator, here’s how it looks:
It’s a big guy (and sometimes a lady) with strange mandibles.
The body is covered with a mesh, some places are covered with armour plates, for
example the shoulders, the hip, the hands and the shins.
So, now, if you meet one, you know how it looks.
To draw the mesh part, you can fill a path with a pattern, say a wire fence, but
not with a color at the same time.
You cannot edit the color of a pattern, only its stroke.
So, in the case of the wire fence pattern that we use here, you could change the
color of the wire from black (the default) to pink, if you like that.
But the background remains white because that’s the predefined color of the
pattern.
What to do?
You could possibly create a new pattern with the background color that you want,
but creating new patterns is not so easy.
Another tip is to change the background color via Extensions → Colour →
Replace Colour …, or even by editing an XML snippet in the SVG source file
of the image.
But there is another way:
Select the path.
Duplicate it.
Don’t move the duplicate.
Now you select them both.
Use touch select for this, that is, press ALT and draw over a line that is part
of the path.
Now both are selected.
Go to the Layers and Objects dialog, where both should be selected.
Paths have a unique number which identifies them and which doesn’t change.
They are ordered the way they are in the image, that is, paths that are on top
of other paths in the image are also higher up in the Layers and Objects
dialog.
Paths in image and dialog

Note the numbers of the paths, so you can find them again.
Select the bottom one (path171 in our example) and change it’s fill to a flat
color.
Use the Fill and Stroke dialog for this.
The image shows it right next to the Layers and Objects dialog.
Selecting the path deselects the other one, which is why you should note the
number.
You can of course re-select them at any time, but just memorizing the number is
easier, at least for me.
Then select the top one (in our example, it’s path200) and select the mesh
pattern for the fill.
Now you have it:
Pattern fill on top, color fill below.