Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Figma Design – Figma Learn
  • Create designs
  • Color, gradients, and images

Color models in Figma Design

Written by Figma Man

Updated at June 19th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Administration – Figma Learn
    Manage files and projects Manage a team Manage your account Manage a Figma organization Manage Enterprise plan settings and permissions Billing Manage Figma in a school
  • Figma Design – Figma Learn
    Create prototypes Import and export Create designs Tour the interface Dev Mode Work together in files Build design systems Figma Draw
  • Get started – Figma Learn
    Set up your account Layers 101
  • FigJam – Figma Learn
    Import and export Run meetings Work on boards Tour the interface
  • Community – Figma Learn
    Explore the Community Creator tools and resources
  • Help – Figma Learn
    Troubleshoot Common questions Work with support
  • Work across Figma – Figma Learn
    Figma AI Work across Figma
  • Courses, tutorials, projects – Figma Learn
    Courses Projects
  • Figma Slides – Figma Learn
    Create and edit slides Present slide decks Tour the interface Import and export
  • Figma Buzz – Figma Learn
    Templates in Figma Buzz Create and edit assets in Figma Buzz Overview
  • Figma Make – Figma Learn
    Tour the interface Work with Figma Make
  • Figma Sites – Figma Learn
    Design a site Create webpages and breakpoints Make your site interactive Preview and publish a site Tour the interface
+ More

Table of Contents

Color models Hex RGB HSB HSL CSS View and adjust color model values

Before you start

Who can use this feature

Colors are available on any team or plan

Anyone with can edit access to the file can use the color picker and select a color model.

There are lots of terms used to describe color. In this article, we use the term color model to describe the different ways your can represent a color.

Figma allows you to see colors across five color models: Hex, HSB, HSL, CSS, and RGB.

Switching between color models only affects how Figma describes colors; It doesn't affect how Figma renders them.

Image showing five color pickers with the same color represented in each color model

Color profiles affect how Figma renders colors. You can choose between sRGB or Display P3 as your default color profile, as a design file's color profile, or for exporting assets. Learn about color profiles and color management →

Color models

By default, Figma represents color values using the Hex model. You can also view color notation for other models in the color picker.

Hex

Hex is the default color model in Figma and refers to the Hexadecimal color. This is an alphanumeric shorthand representative of the RGB values.

Creators in web or digital design refer to the notation for this color model as hex codes.

Hex values have 8 characters and use the following syntax:

#RRGGBBAA

  • The RR represents the red component.
  • The GG represents the green component.
  • The BB represents the blue component.
  • The AA represents the alpha component. An alpha value of 00 represents a fully transparent color, and an alpha value of FF represents a fully opaque color.

RGB

RGB or Red Green Blue is the most commonly used color model.

Every color that is rendered on a monitor or screen will be made up of varying amounts of Red, Green, and Blue.

RGB values are in the following syntax:

(red, green, blue, alpha)

  • Red, green, and blue values define the intensity of the color with an integer between 0 and 255
  • The alpha value defines the opacity as a number between 0.0 (fully transparent) and 1.0 (fully opaque)

HSB

Hue Saturation Brightness is an alternative representation of the RGB model.

This is based around how the human eye perceives color, versus how a display would (in RGB).

HSB values are in the following syntax:

(hue, saturation, brightness, alpha)

  • The hue value is measured in degrees, and is represented with an integer from 0 and 360
  • The saturation value is represented with an integer from 0 to 100, with 100 being the most saturated
  • The brightness value is represented with an integer from 0 to 100, with 100 being the brightest
  • The alpha value defines the opacity as a number between 0.0 (fully transparent) and 1.0 (fully opaque)

HSL

Hue Saturation Luminance is another color model based around how the human eye perceives color.

Like HSB, it is an alternative representation of the RGB model. The main difference between HSB and HSL is how saturation and lightness are treated.

HSL values are in the following syntax:

(hue, saturation, luminance, alpha)

  • The hue value is measured in degrees, and is represented with an integer from 0 and 360
  • The saturation value is represented with an integer from 0 to 100, with 100 being the most saturated
  • The luminance value is represented with an integer from 1 to 100, with 100 being the lightest
  • The alpha value defines the opacity as a number between 0.0 (fully transparent) and 1.0 (fully opaque)

CSS

The CSS color model allows you to view or enter RGBa values using CSS syntax. 

CSS values are in the following syntax:

rgba(red, green, blue, alpha)

    • Red, green, and blue values define the intensity of the color with an integer between 0 and 255
    • The alpha value defines the opacity as a number between 0.0 (fully transparent) and 1.0 (fully opaque)

Want to communicate colors to a developer or engineer? The CSS model lets you copy CSS-friendly notation for the selected color. This lets you paste this directly into a stylesheet, formatting included. Learn more about developer handoff.

View and adjust color model values

View and update colors across different color models in the color picker.

  1. Click on the Fill or Stroke in the right sidebar to open the color picker.
  2. Below the Hue and Opacity sliders you can see the current color model and the corresponding values.
  3. Use the dropdown to switch color models. Choose between Hex, HSB, HSL, CSS and RGB:Image showing the color models available in the color picker

Figma will shows values in the notation you selected.

You can also adjust color by inputting the values directly in the available fields.

  • RGB, HSL, and HSB color models have a separate percentage field for alpha values
  • The CSS model must include an alpha value as a number between 0.0 and 1.0
  • For Hex, you can either:
    • Input a 6-digit hex code and use the separate percentage field for adjusting the alpha value
    • Input an 8-digit hex code that includes the alpha value as the last two digits

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Crop an image
  • Paints in Figma
  • Apply paints with the color picker
  • Paste images in the canvas
  • Add fills to text and shape layers
  • Blog
  • Best practices
  • QR code generator
  • Color wheel
  • Colors
  • Color picker
  • Color palettes
  • Color palette generator
  • Color contrast checker
  • Font Library
  • Templates
  • Developers
  • Integrations
  • Affiliate program
  • Resource library
  • Reports and insights
  • Support
  • Status
  • Legal and privacy
  • Modern slavery statement
  • Climate disclosure statement
  • COMPARE
  • Sketch
  • Adobe XD
  • Framer
  • Miro
  • COMPANY
  • Events
  • Customers
  • Careers
  • Newsroom
Expand