The foreground is the actual hatch lines/pattern of the fill.
The background is the space between the lines/pattern.
Just place a simple diagonal pattern fill and play around with the foreground and background pen colours and you will see.
This applies to the 'Cut Elements' settings of sections and elevations as well.
An empty fill has no foreground - you can only control the background pen.
A solid fill has no background - you can only control the foreground pen.
You also have the fill perimeter which has separate control for colour and on/off.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11