# lcd.getColor(flags)

Get the color value from flags

@status current Introduced in 2.3.11

## Parameters

* `flags` (flags) please see [flags](https://luadoc.edgetx.org/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants) and [color](https://luadoc.edgetx.org/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/constants/color-constants) constants

## Return value

* `color` (flag) only the RGB565 color value of the input

### Notice

Only available on radios with color display


---

# 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://luadoc.edgetx.org/edgetx-v2.7/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor.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.
