\arrayrulecolor{\bordercolor}\begin{longtable}{|S{>{\centering\arraybackslash}p{2cm}}|Sc|} \hline\rowcolor{\fstlinecolor}\textcolor{\txtfstlinecolor}{$\pmb{k}$} & \textcolor{\txtfstlinecolor}{$\pmb{P(X\leqslant k)}$} \\ \hline8&0.0149654387744\\ \hline \rowcolor{\bkcolor}9&0.0305602037888\\ \hline 10&0.0565957900676\\ \hline $\vdots$ & $\vdots$\\ \hline24&0.965842646638\\ \hline \rowcolor{\bkcolor}25&0.979129402771\\ \hline 26&0.987660829313\\ \hline \end{longtable}