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

pgfplotstikz-pgf

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

\documentclass{article}
\usepackage{tikz}
\begin{document}
\usetikzlibrary{patterns}
\tikz{\node[preaction={fill, red}, pattern=grid] {b};}
\end{document}

Result:

enter image description here