10. Given the function $f(x)=4^{x}-3 \cdot 2^{x}+3$ has a range of $[1,7]$, the domain of $x$ is $\qquad$ .
10. $(-\infty, 0] \cup[1,2]$.
$1 \leqslant 4^{x}-3 \cdot 2^{x}+3 \leqslant 7$, then $2^{x} \in(0,1] \cup[2,4]$, so $x \in(-\infty, 0] \cup[1,2]$.