# lcd.setColor(colorIndex, color)

Change an indexed color (theme colors and CUSTOM\_COLOR).

@status current Introduced in 2.2.0

## Notice

* Changing theme colors affects not only other Lua widgets, but the entire radio interface.
* Only available on radios with color display

## Parameters

* `colorIndex` (flags) must be an indexed color, please see [color](https://luadoc.edgetx.org/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/color-constants) constants.
* `color` (flags) please see [color](https://luadoc.edgetx.org/edgetx-2.6/part_iii_-_opentx_lua_api_reference/constants/color-constants) constants.

## Return value

none

### Notice

Only available on radios with color display
