# Styling

We can style values in the custom template using the "Background," "Border," and "Shadow" options.

<figure><img src="/files/uiTVJedpEngXiiOrgfH7" alt="" width="375"><figcaption><p>Image 1: Styling option</p></figcaption></figure>

### 1. Background

Select the value in the template, click on "Background," and then choose the color you would like to apply behind the value.

<figure><img src="/files/UeVEpi11qOWqdEkCMp7p" alt="" width="375"><figcaption><p>Image 2: Choose Background Color</p></figcaption></figure>

After selecting a background, the template appears as shown in the image below:

<figure><img src="/files/6lIMixo3T4FJdRuSUAcV" alt="" width="375"><figcaption><p>Image 3: Template after selecting background color</p></figcaption></figure>

### 2. Border

Select the value in the template, click on "Border," and configure the weight, corner radius, and color options for the selected value.

<figure><img src="/files/ZHAF5IgMaUnTbJEOZpYx" alt="" width="375"><figcaption><p>Image 4: Border Configuration</p></figcaption></figure>

After Border configuration, the template appears as shown in image below:

<figure><img src="/files/dNZ7gqjqgPFYSkZvgKkN" alt="" width="375"><figcaption><p>Image 5: Template after border configuration</p></figcaption></figure>

### 3. Shadow

Select the value in the template, click on "Shadow," and then choose the shadow style and color you would like to apply around the value.

<figure><img src="/files/o0DpJgDuCbZmjUMyIAmY" alt="" width="375"><figcaption><p>Image 6: Shadow style and color</p></figcaption></figure>

After applying Shadow style and color, the template appears as shown in image below:

<figure><img src="/files/SgSxXh1dykVWvJ45uNFA" alt="" width="375"><figcaption><p>Image 7: Template after shadow style</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xviz.com/performance-management/card-formatting/customize-template/styling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
