4. 48 .
$$
\begin{array}{c}
36=6 \times 6 \times 1 \times 1=6 \times 3 \times 2 \times 1 \\
=4 \times 3 \times 3 \times 1=3 \times 3 \times 2 \times 2 .
\end{array}
$$

For each of the above cases, there are respectively
$$
\begin{array}{l}
\frac{4!}{(2!)(2!)}=6,4!=24, \\
\frac{4!}{2!}=12, \frac{4!}{(2!)(2!)}=6
\end{array}
$$

possibilities.
In total, there are 48 possibilities.
4. Red, blue, green, and white four dice, each die's six faces have numbers $1,2,3,4,5,6$. Throwing these four dice simultaneously so that the product of the numbers facing up on the four dice equals 36, there are $\qquad$ possible ways.