[Tex/LaTex] Drawing node in tikz with both background fill and grid pattern


Is it possible to use the grid pattern on a node but also setting a background color to it, say blue?

I want to use something like

\node (b) [fill=red, pattern=grid] {b};

I am aware of the solution here:
How to combine fill and pattern in a pgfplot bar plot?,
but it does not seem to apply directly to a node. Thanks in advance!

Best Answer

\tikz{\node[preaction={fill, red}, pattern=grid] {b};}


enter image description here