\arrayrulecolor{\bordercolor}\begin{longtable}{|S{>{\centering\arraybackslash}p{2cm}}|Sc|} \hline\rowcolor{\fstlinecolor}\textcolor{\txtfstlinecolor}{$\pmb{k}$} & \textcolor{\txtfstlinecolor}{$\pmb{P(X\leqslant k)}$} \\ \hline10&     0.008071\\ \hline 11&     0.016790\\ \hline \rowcolor{\bkcolor}12&     0.032047\\ \hline 13&     0.056562\\ \hline 14&     0.092946\\ \hline $\vdots$ & $\vdots$\\ \hline28&     0.972908\\ \hline \rowcolor{\bkcolor}29&     0.983673\\ \hline 30&     0.990492\\ \hline 31&     0.994646\\ \hline \end{longtable}