In this article:

Color a Cell Based on a Hex Value in Google Sheets (2024)

November 14, 2024

In this tutorial, we will show you exactly how to color a cell based on a hex value in Google Sheets in just a few steps. Simply follow the steps below.

Use Hex Codes to Color Cells in Google Sheets 

Follow the process below to color cells in Google Sheets based on hex values.

1. Highlight the Cells to Color

Click and drag to select the cells you want to fill with color. These cells will be colored using the paint bucket tool.

apply hex colors to cells in google sheets

2. Access the Paint Bucket Tool

Locate the paint bucket icon in the toolbar at the top of the screen. This tool allows you to fill cells with color.

hex codes for cell colors google sheets

3. Choose the Fill Color

Click the paint bucket icon to open the color picker. Select "+" to enter a hex color code.

For example, type "#FF5733" to choose an orange color.

4. Apply the Color

After selecting or entering the hex color, click "OK" or press Enter. The selected cells will now be filled with the chosen color.

5. Review and Adjust as Needed

Check the cells to ensure the color has been applied correctly. If needed, go back to the paint bucket tool to adjust the color or apply different colors to other cells.

We hope that you now have a better understanding of how to color cells using hex codes on Google Sheets. If you enjoyed this article, you might want to check our articles on how to use SUMIF based on color in Google Sheets and how to make a Kanban board in Google Sheets.

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->