API:ChatFrameBackground SetColor

Shows an Option to change background color of the current chat tab

OpenColorPickerFrame(ChatFrameBackground_SetColor, 1);

Example
/script OpenColorPickerFrame(ChatFrameBackground_SetColor, 1);