Customize Colors with the Service Chat SDK

You can customize the look and feel of the interface by specifying the colors used throughout the UI.

The legacy chat product is scheduled for retirement on February 14, 2026, and is in maintenance mode until then. During this phase, you can continue to use chat, but we no longer recommend that you implement new chat channels. To avoid service interruptions to your customers, migrate to Messaging for In-App and Web before that date. Messaging offers many of the chat features that you love plus asynchronous conversations that can be picked back up at any time. Learn about chat retirement in Help.

To customize the colors, create color resource values in your project’s colors.xml file that correspond to the same resource names specified in this documentation.

For example, the following resource file values customize some of the branding tokens:

These screenshots illustrate how the branding tokens affect the UI.

Chat UI Branding:

Branding colors for Chat

The following branding tokens are available for customization.

Token NameDefault ValueDescription / Sample Uses
Toolbar
salesforce_toolbar
#FAFAFA ToolbarThe toolbar background color.
Toolbar Inverted
salesforce_toolbar_inverted
#010101 Toolbar invertedToolbar text and icon color.
Brand Primary
salesforce_brand_primary
#007F7F Brand primaryThe banner background color. Chat: Line under the message you’re typing.
Brand Secondary
salesforce_brand_secondary
#2872CC Brand secondaryChat: User text bubbles.
Brand Contrast
salesforce_brand_contrast
#FCFCFC Secondary invertedTitle text color.
Contrast Primary
salesforce_contrast_primary
#000000 Contrast primaryPrimary body text color.
Contrast Secondary
salesforce_contrast_secondary
#6D6D6D Contrast secondary 
Contrast Tertiary
salesforce_contrast_tertiary
#BABABA Contrast tertiary 
Contrast Quaternary
salesforce_contrast_quaternary
#F1F1F1 Contrast quaternaryChat: Background color for the chat feed screen.
Contrast Inverted
salesforce_contrast_inverted
#FFFFFF Contrast invertedPage background, navigation bar, table cell background. Chat: Color of the close button on the minimized view. Client message text. Background color at the bottom of the input bar on the chat feed UI.
Feedback Primary
salesforce_feedback_primary
#E74C3C Feedback primaryText color for error messages.
Feedback Secondary
salesforce_feedback_secondary
#2ECC71 Feedback secondary 
Feedback Tertiary
salesforce_feedback_tertiary
#F5A623 Feedback tertiary 
Title Color
salesforce_title_color
#FBFBFB Primary invertedText as it appears in titles throughout the UI. Text on areas where a brand color is used for the background. Chat: Agent text bubbles.
Overlay
salesforce_overlay
#000000(40% alpha)