# Colors

Color is an important part of creating a visually consistent, functional, and accessible storefront.
The **Colors** settings let you create reusable color schemes for your theme and customize colors for specific elements such as product badges and the cart bubble. A well-planned color system helps reinforce your brand while keeping text, buttons, forms, and other interface elements clear and easy to use.
## How to customize Colors
1. In the theme editor (**Edit theme**), go to **Theme settings**.
2. Open **Colors**.
3. Create or edit your color schemes and other element colors as needed.
4. Click **Save**.
## Settings
### Color schemes
A **color scheme** is a coordinated set of colors that can be reused throughout your store.
You can create multiple schemes for different areas of your theme, such as light, dark, or accent sections. Editing a scheme automatically updates every supported section or block that uses it.
Click **Add Scheme** to create an additional color scheme.
Each color scheme can include the following settings:
| Setting | Description |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------- |
| **Background** | Sets the main background color. |
| **Background secondary** | Sets the secondary background color used for supporting or contrasting areas. |
| **Text** | Sets the primary text color. |
| **Subtext** | Sets the color used for secondary or supporting text. |
| **Border** | Sets the color used for borders and dividers. |
| **Sale price** | Sets the color used to highlight sale prices. |
| **Primary button** | Sets the **Background**, **Text**, and **Border** colors for primary buttons. |
| **Secondary button** | Sets the **Background**, **Text**, and **Border** colors for secondary buttons. |
| **Inputs** | Sets the **Background** and **Text** colors for form fields and other inputs. |
| **Focused inputs** | Sets the **Background** and **Text** colors shown when an input is focused. Leave a value blank to use the default styling. |
| **Swatches** | Sets the **Border** color used for product color swatches. |
| **Notifications** | Sets colors for **Success**, **Error**, **Warning**, **Info**, and **Out of stock** messages. |
| **Progress bar** | Sets the color used for progress indicators. |
### Apply your color scheme
After creating your color schemes, you can assign them to supported sections or blocks using the **Color scheme** picker.
1. Open the section or block you want to customize.
2. Find **Color scheme**.
3. Select the scheme you want to use.
4. Click **Save**.
The **Color scheme** picker is available only in sections and blocks that support custom color schemes.
### Badge colors
Product badges use separate background and text colors.
| Setting | Description |
| ------------------ | ---------------------------------------------------------------- |
| **New badge** | Sets the **Background** and **Text** colors for New badges. |
| **Hot badge** | Sets the **Background** and **Text** colors for Hot badges. |
| **Popular badge** | Sets the **Background** and **Text** colors for Popular badges. |
| **Sale badge** | Sets the **Background** and **Text** colors for Sale badges. |
| **Sold out badge** | Sets the **Background** and **Text** colors for Sold out badges. |
To configure which products display **New**, **Hot**, or **Popular** badges, go to **Theme settings >** [**Product badges**](https://docs.foxecom.com/pebble-theme/theme-settings/product-badges).
### Other colors
Some theme elements use standalone color controls instead of a color scheme.
| Setting | Description |
| -------------------------- | ------------------------------------------------------------------------------ |
| **Cart bubble background** | Sets the background color of the item-count bubble displayed on the cart icon. |
| **Cart bubble text** | Sets the color of the number displayed inside the cart bubble. |
## Tips and best practices
* Maintain enough contrast between text and background colors to keep content easy to read.
* Check **Focused inputs** to make sure form fields remain clearly visible when customers select or type in them.
* Remember that changing a **color scheme** updates every section or block that uses that scheme.
* Make sure **badge text has enough contrast against its background**. Badge colors are fixed and don’t automatically adjust when used on light or dark sections, so review each badge color combination for readability.