To color text in LaTeX, load the xcolor package and use \textcolor{red}{text}. Color table rows, cells, and define custom colors with HTML hex codes.