lcd.setColor(area, color)

Set a color for specific area

@status current Introduced in 2.2.0

Parameters

  • area (unsigned number) specific screen area in the list bellow

  • CUSTOM_COLOR

  • DEFAULT_COLOR

  • DEFAULT_BGCOLOR

  • FOCUS_COLOR

  • FOCUS_BGCOLOR

  • LINE_COLOR

  • CHECKBOX_COLOR

  • MENU_BGCOLOR

  • MENU_COLOR

  • MENU_TITLE_DISABLE_COLOR

  • HEADER_COLOR

  • ALARM_COLOR

  • HIGHLIGHT_COLOR

  • TEXT_DISABLE_COLOR

  • HEADER_COLOR

  • DISABLE_COLOR

  • CURVE_CURSOR_COLOR

  • TITLE_BGCOLOR

  • TRIM_BGCOLOR

  • TRIM_SHADOW_COLOR

  • MAINVIEW_PANES_COLOR

  • MAINVIEW_GRAPHICS_COLOR

  • MENU_BGCOLOR

  • HEADER_ICON_BGCOLOR

  • HEADER_CURRENT_BGCOLOR

  • MAINVIEW_PANES_COLOR

  • MAINVIEW_GRAPHICS_COLOR

  • OVERLAY_COLOR

  • BARGRAPH1_COLOR

  • BARGRAPH2_COLOR

  • BARGRAPH_BGCOLOR

  • CUSTOM_COLOR

  • color (number) color in 5/6/5 rgb format. The following prefined colors are available

  • WHITE

  • GREY

  • LIGHTGREY

  • DARKGREY

  • BLACK

  • YELLOW

  • BLUE

  • RED

  • DARKRED

Return value

none

Notice

Only available on Colorlcd radios