# Background color on labels

**URL:** <https://forum.communityhealthtoolkit.org/t/background-color-on-labels/2838>\
**Category:** Development\
**Created:** [June 14, 2023, 8:11pm UTC](https://forum.communityhealthtoolkit.org/t/background-color-on-labels/2838 "2023-06-14T20:11:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cliff](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/cliff/32/1638_2.png) [@cliff](https://forum.communityhealthtoolkit.org/u/cliff)\
**Post date:** [June 14, 2023, 8:11pm UTC](https://forum.communityhealthtoolkit.org/t/background-color-on-labels/2838/1 "2023-06-14T20:11:31Z")

</div>

Hello community

Do we support background styling colors on label text ie

 ![Screenshot 2023-06-14 at 23.07.26](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/b/bed76ac77245f8c4a1f553b84aceca5c5ea5f077.png)  
i have been looking at [this link](https://docs.communityhealthtoolkit.org/design/components/#backgrounds) and as wondering if this is what is applied since in XLSForm, you can only use basic Markdown syntax for limited text formatting options such as bold, italics, and underlining and background color styling is not supported natively in XLSForm.

---

<div class="post-metadata">

**Author:** ![marc](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/marc/32/602_2.png) [@marc](https://forum.communityhealthtoolkit.org/u/marc)\
**Post date:** [June 15, 2023, 1:31pm UTC](https://forum.communityhealthtoolkit.org/t/background-color-on-labels/2838/2 "2023-06-15T13:31:25Z")

</div>

In XLSForms you can use the HTML styling you want, and there are some [CHT defined appearances](https://docs.communityhealthtoolkit.org/design/best-practices/#page-sections) that are perhaps simpler and cleaner to use.

 ![image](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/b/b37c53fe574ce853d1c29afb881c2498f2d53a04.png)

Here is an example of it in use:

 ![image](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/2/22597e174fe77a1c5b09d618215fd8bf5750806a.png)

---

<div class="post-metadata">

**Author:** ![cliff](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/cliff/32/1638_2.png) [@cliff](https://forum.communityhealthtoolkit.org/u/cliff)\
**Post date:** [June 20, 2023, 7:15pm UTC](https://forum.communityhealthtoolkit.org/t/background-color-on-labels/2838/3 "2023-06-20T19:15:16Z")

</div>

thanks @marc 👍 for the links
