> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-agent-in-group-react-v6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Color Resources

> Color Resources — CometChat documentation.

## Introduction

The Chat UI Kit comes with a carefully designed color palette to ensure a consistent and visually appealing user interface. It uses the Block, Element, Modifier (BEM) methodology, a standard naming convention for CSS classes. This approach allows for organized, scalable styling, and components can be easily customized by overwriting the applicable resources file in the Kit’s stylesheet.

## Color Palette

The primary color serves as the foundation of your chat UI, used for key actions, branding, and prominent interface elements, while the primary extended palette complements it with subtle variations suited for secondary and tertiary actions or supporting elements.

### Primary Color

**Light Mode:**

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-docs-agent-in-group-react-v6/ISrSQKUqQ1MtSM8O/images/329064e0-color_resources_primary_color_light_mode-a4c89cc5a4355cb52f5ce09be70ceea4.png?fit=max&auto=format&n=ISrSQKUqQ1MtSM8O&q=85&s=e1fa20b517502904c829b277ab76a300" width="1282" height="802" data-path="images/329064e0-color_resources_primary_color_light_mode-a4c89cc5a4355cb52f5ce09be70ceea4.png" />
</Frame>

```python theme={null}
--cometchat-primary-color: #6852d6;
--cometchat-extended-primary-color-50: #f9f8fd;
--cometchat-extended-primary-color-100: #edeafa;
--cometchat-extended-primary-color-200: #dcd7f6;
--cometchat-extended-primary-color-300: #ccc4f1;
--cometchat-extended-primary-color-400: #bbb1ed;
--cometchat-extended-primary-color-500: #aa9ee8;
--cometchat-extended-primary-color-600: #9a8be4;
--cometchat-extended-primary-color-700: #8978df;
--cometchat-extended-primary-color-800: #7965db;
--cometchat-extended-primary-color-900: #5d49be;
```

***

**Dark Mode:**

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-docs-agent-in-group-react-v6/JoK2O2F7IYCQF1_g/images/1a351be5-color_resources_primary_color_dark_mode-ad041848a2ccb280a23b81196bd70241.png?fit=max&auto=format&n=JoK2O2F7IYCQF1_g&q=85&s=6af7115fefc0e06b097320b18be2b131" width="1282" height="802" data-path="images/1a351be5-color_resources_primary_color_dark_mode-ad041848a2ccb280a23b81196bd70241.png" />
</Frame>

```python theme={null}
--cometchat-primary-color: #6852d6;
--cometchat-extended-primary-color-50: #15102b;
--cometchat-extended-primary-color-100: #1d173c;
--cometchat-extended-primary-color-200: #251e4d;
--cometchat-extended-primary-color-300: #2e245e;
--cometchat-extended-primary-color-400: #362b6f;
--cometchat-extended-primary-color-500: #3e3180;
--cometchat-extended-primary-color-600: #473892;
--cometchat-extended-primary-color-700: #4f3ea3;
--cometchat-extended-primary-color-800: #5745b4;
--cometchat-extended-primary-color-900: #7460d9;
```

### Extended Primary Color

**Light Mode:**

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-docs-agent-in-group-react-v6/k82rLv-mRy38q-bk/images/e0e0442e-color_resources_extended_primary_color_light_mode-da639cfd64903321d4b586eeae6a7959.png?fit=max&auto=format&n=k82rLv-mRy38q-bk&q=85&s=5d528420be1a25dcacda916765dc0297" width="1282" height="641" data-path="images/e0e0442e-color_resources_extended_primary_color_light_mode-da639cfd64903321d4b586eeae6a7959.png" />
</Frame>

**Dark Mode:**

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-docs-agent-in-group-react-v6/FQNeiVxajtzWdB3i/images/b8b4d7ab-color_resources_extended_primary_color_dark_mode-8a814c0ae318b8784f3f5cdfa681237c.png?fit=max&auto=format&n=FQNeiVxajtzWdB3i&q=85&s=8b8459c2bfe97266fe3515dd0532bff7" width="1278" height="715" data-path="images/b8b4d7ab-color_resources_extended_primary_color_dark_mode-8a814c0ae318b8784f3f5cdfa681237c.png" />
</Frame>

***

## Resources for Developers and Designers

### GitHub Repository

Access the complete list of color variables and their hex values in our [GitHub](https://github.com/cometchat/cometchat-uikit-react/blob/v5/src/styles/css-variables.css#L198-L419) repository.

***

### Figma UI Kit

For designers, the Figma UI Kit includes a fully integrated color palette, making it easy to visualize and apply the colors in your designs.

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-docs-agent-in-group-react-v6/iIeExfBhmmmkVYg_/images/61d773cf-A9C9sJ6YAAAAASUVORK5CYII.png?fit=max&auto=format&n=iIeExfBhmmmkVYg_&q=85&s=29748a9604b192a9b9cfbd7ae7b84744" width="900" height="450" data-path="images/61d773cf-A9C9sJ6YAAAAASUVORK5CYII.png" />
</Frame>

<iframe width="100%" height="100%" src="https://embed.figma.com/design/518OuvYeP2cvzIPWmr1fN7/Public-Web-Chat%E2%80%A8--UI-Kits?node-id=1-3&embed-host=share" loading="lazy" />
