> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/fr/apps/themes/colors.md).

# Couleurs

De nombreux composants acceptent un paramètre de couleur. Certains paramètres de couleur vous permettent de sélectionner un style prédéfini, comme succès ou erreur. D'autres paramètres de couleur acceptent un objet `DashboardColor` qui peut définir une couleur spécifique à l'aide d'un nom, d'une valeur hexadécimale ou d'une valeur RGB.

Vous trouverez ci-dessous un exemple de chaque type de configuration. Une liste de [couleurs connues est disponible ici](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.knowncolor?view=net-9.0).

```powershell
# Hex color 
New-UDIcon -Icon User -Color '#2596be'

# RGB values
New-UDIcon -Icon User -Color 'rgb(37, 150, 190)'

# Anything Color.FromName knows
New-UDIcon -Icon User -Color 'gray'
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.devolutions.net/powershell-universal/fr/apps/themes/colors.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.
