# Custom Functions

<table><thead><tr><th width="200">Method</th><th>Parameters</th><th>Description</th></tr></thead><tbody><tr><td><code>mled.Color</code></td><td><code>"ColorName"</code></td><td>This function will start a new color for the following text<br>Example: <code>{{ mled.Color "Red" }}Hello</code> produces the the text Hello in red font</td></tr><tr><td><code>mled.EndColor</code></td><td><code>&#x3C;string></code><br><code>&#x3C;length></code><br><code>"&#x3C;alignment>"</code></td><td>This function will end the latest color used and fall back to the default panel color.</td></tr><tr><td><code>mled.FillColor</code></td><td><code>"ColorName"</code></td><td>This function will change the background color of the board.<br>Example: <code>{{ mled.FillColor "Red" }}</code> produces an all red MLED display</td></tr></tbody></table>

Color names can be any of the following:

* `Black`
* `Red`
* `Green`
* `Blue`
* `Yellow`
* `Magenta`
* `Cyan`
* `White`
* `Orange`
* `DeepPink`
* `LightBlue`


---

# 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.dbnetsoft.com/dbnetsoft/raceresultexchange/operation-modes/displayboard/displayboard-brands/fds-mled/scripting/custom-functions.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.
