# Colors for the text annotation

**URL:** https://discourse.paraview.org/t/colors-for-the-text-annotation/3005
**Category:** ParaView Support
**Tags:** python
**Created:** [November 19, 2019, 12:41pm UTC](https://discourse.paraview.org/t/colors-for-the-text-annotation/3005 "2019-11-19T12:41:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mayakruha](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/ba8739/32.png) [@Mayakruha](https://discourse.paraview.org/u/Mayakruha)
#### Post date: [November 19, 2019, 12:41pm UTC](https://discourse.paraview.org/t/colors-for-the-text-annotation/3005/1 "2019-11-19T12:41:25Z")

</div>

Hello everyone!

I’m writing a Python script that creates a number of text annotations in the Flagpole Actor display mode. I need a white background for a whole picture but the annotation lines between base and top points have white color. I can’t find how i can change the color of the line. Can i set different colors for the lines or change a color for all lines? How can I do it?

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [November 19, 2019, 2:48pm UTC](https://discourse.paraview.org/t/colors-for-the-text-annotation/3005/2 "2019-11-19T14:48:52Z")

</div>

I fear it is not possible …

The only workaround I see is to create `Line` sources (that can be colored) and the python annotation for the text.

---

<div class="post-metadata">

### Author: ![Mayakruha](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/ba8739/32.png) [@Mayakruha](https://discourse.paraview.org/u/Mayakruha)
#### Post date: [November 19, 2019, 3:12pm UTC](https://discourse.paraview.org/t/colors-for-the-text-annotation/3005/3 "2019-11-19T15:12:46Z")

</div>

Thank for your answer. I thought about such solution but I’d like to find easy way because I have many text annotations and have to edit (turn off, turn on, change position) manually them after to get different pictures. Thus the work will double
