直线 $x \cos \alpha+\sqrt{3} y+2=0$ 的倾斜角的范围是
$\text{A.}$ $\left[0, \frac{\pi}{6}\right] \bigcup\left[\frac{5 \pi}{6}, \pi\right)$
$\text{B.}$ $\left[0, \frac{5 \pi}{6}\right]$
$\text{C.}$ $\left[\frac{\pi}{6}, \frac{\pi}{2}\right) \cup\left(\frac{\pi}{2}, \frac{5 \pi}{6}\right]$
$\text{D.}$ $\left[\frac{\pi}{6}, \frac{5 \pi}{6}\right]$