# Latex text colors

**URL:** <https://forums.ankiweb.net/t/latex-text-colors/40409>\
**Category:** Card Design\
**Created:** [January 28, 2024, 11:34am UTC](https://forums.ankiweb.net/t/latex-text-colors/40409 "2024-01-28T11:34:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user01](https://avatars.discourse-cdn.com/v4/letter/u/3e96dc/32.png) [@user01](https://forums.ankiweb.net/u/user01)\
**Post date:** [January 28, 2024, 11:34am UTC](https://forums.ankiweb.net/t/latex-text-colors/40409/1 "2024-01-28T11:34:40Z")

</div>

To change the text colors in latex I normally use, for example — \textcolor{red}. Now I googled what available colors latex has, but not all of them seem to work? Like brickred, dandelion, mahogany do nothing, but simpler things like red, cyan, blue do. Is there a way to work around this?

Also, on an unrelated note, are add-ons not a thing on AnkiDroid? Is it only for desktop?

---

<div class="post-metadata">

**Author:** ![PilgrimLyieu](https://avatars.discourse-cdn.com/v4/letter/p/3ec8ea/32.png) [@PilgrimLyieu](https://forums.ankiweb.net/u/PilgrimLyieu)\
**Post date:** [January 28, 2024, 12:28pm UTC](https://forums.ankiweb.net/t/latex-text-colors/40409/2 "2024-01-28T12:28:22Z")

</div>

Are you using `xcolor` package? Predefined colors are mentioned in its [document](http://mirrors.ctan.org/macros/latex/contrib/xcolor/xcolor.pdf). You can have a check.

 ![1](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/2/a/2a692583f829f041374753f70f99f7ffea89a62d.png)

And the answer to the second question is YES. They are only for Anki Desktop.

---

<div class="post-metadata">

**Author:** ![user01](https://avatars.discourse-cdn.com/v4/letter/u/3e96dc/32.png) [@user01](https://forums.ankiweb.net/u/user01)\
**Post date:** [January 30, 2024, 6:17am UTC](https://forums.ankiweb.net/t/latex-text-colors/40409/3 "2024-01-30T06:17:17Z")

</div>

I’m afraid I’m not acquainted with anything else then surface level of knowledge of Anki and coding, so I’ve no idea what package I’m using. Whatever is default, I guess? I looked into the pdf, and you are right—I can use those colors and few others like lightgreen and lightblue.  
Thank you for the help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [February 29, 2024, 6:18am UTC](https://forums.ankiweb.net/t/latex-text-colors/40409/4 "2024-02-29T06:18:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
