Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to add color to text in LaTeX

📅 2010-May-07 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ colors, latex ⬩ 📚 Archive

Adding color to text in LaTeX is super easy!

Include the color package:


Specify the color and the text you want colored to the textcolor command wherever needed:

\textcolor{red}{This is colored in red!}

To see other predefined color names go here.

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧