Now offer period OUR API HAS BEEN EXPANDED

Black Friday week: Get our API at a special price. Get it now. Get more detailed color conversion results - perfect for web projects, plugins, internal tools or SaaS applications. Valid from 2025-11-24 up to and including 2025-11-30 (23:59 CET)

API packages & prices X

CSS Gradients:
RGB 40 20 2

Information

close all

Let CSS suggest color gradients from two hues such as the base hue and the complementary color.

Find examples of linear and radial color transitions.

Easy for web design: Copy the CSS code for easy integration on your website.

Let CSS suggest color gradients from two hues such as the base hue and a lighter hue.

Find examples of linear and radial color transitions from Lighter colors.

Simple for web design: copy the CSS code for easy integration on your website.

Let CSS suggest color gradients from two hues such as the base hue and a darker hue.

Find examples of linear and radial color transitions from Darker colors.

Simple for web design: copy the CSS code for easy integration on your website.

Display options

Description

Dark color: low color values appear darker.

The breakdown of the color into the RGB color system: of 255 maximum color components, 40 red, 20 green and 2 blue.

The mixing ratio of these colors results in the displayed hue in the middle of the overlaps.

In the illustration you can see how the color is composed of the three components: red (top),green (bottom right) and blue (bottom left). In the middle you can see the result color.
40 20 2 R G B
In the CMYK color system the color is composed as follows: In this color tone, out of 100 maximum color components, none cyan, 50 magenta, 95 yellow and 84 key.

The mixing ratio of these colors results in the displayed hue in the middle of the overlaps.

In the diagram you can see how the color is composed of the four components cyan (top left),magenta (top right),yellow (bottom right) and black or key (bottom left). In the middle you can see the result color.
0% 50% 95% 84% C M Y K

Verification of their color palette as a manufacturer!

Provide designers and agencies with accurate color values.

Let's go

Lineal

HEX #281402 to HEX #D7EBFD


CSS-Code:

background-image: linear-gradient(135deg, #281402 13%, #D7EBFD 98%);

Radial

HEX #281402 to HEX #D7EBFD


CSS-Code:

background-image: radial-gradient(circle, #281402 7%, #D7EBFD 98%);

 

HEX #D7EBFD to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #D7EBFD 3%, #281402 97%);

 

HEX #D7EBFD to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #D7EBFD 3%, #281402 93%);

Lineal

HEX #281402 to HEX #270902


CSS-Code:

background-image: linear-gradient(135deg, #281402 4%, #270902 96%);

Radial

HEX #281402 to HEX #270902


CSS-Code:

background-image: radial-gradient(circle, #281402 11%, #270902 86%);

 

HEX #270902 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #270902 14%, #281402 88%);

 

HEX #270902 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #270902 8%, #281402 92%);

 

HEX #281402 to HEX #271302


CSS-Code:

background-image: linear-gradient(135deg, #281402 8%, #271302 89%);

 

HEX #281402 to HEX #271302


CSS-Code:

background-image: radial-gradient(circle, #281402 0%, #271302 86%);

 

HEX #271302 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #271302 3%, #281402 99%);

 

HEX #271302 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #271302 13%, #281402 86%);

 

HEX #281402 to HEX #271D02


CSS-Code:

background-image: linear-gradient(135deg, #281402 10%, #271D02 89%);

 

HEX #281402 to HEX #271D02


CSS-Code:

background-image: radial-gradient(circle, #281402 6%, #271D02 99%);

 

HEX #271D02 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #271D02 11%, #281402 91%);

 

HEX #271D02 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #271D02 13%, #281402 89%);

 

HEX #281402 to HEX #272702


CSS-Code:

background-image: linear-gradient(135deg, #281402 5%, #272702 99%);

 

HEX #281402 to HEX #272702


CSS-Code:

background-image: radial-gradient(circle, #281402 11%, #272702 98%);

 

HEX #272702 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #272702 13%, #281402 94%);

 

HEX #272702 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #272702 5%, #281402 99%);

Lineal

HEX #281402 to HEX #271302


CSS-Code:

background-image: linear-gradient(135deg, #281402 10%, #271302 99%);

Radial

HEX #281402 to HEX #271302


CSS-Code:

background-image: radial-gradient(circle, #281402 10%, #271302 87%);

 

HEX #271302 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #271302 6%, #281402 97%);

 

HEX #271302 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #271302 12%, #281402 93%);

 

HEX #281402 to HEX #4E2704


CSS-Code:

background-image: linear-gradient(135deg, #281402 2%, #4E2704 93%);

 

HEX #281402 to HEX #4E2704


CSS-Code:

background-image: radial-gradient(circle, #281402 3%, #4E2704 97%);

 

HEX #4E2704 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #4E2704 3%, #281402 99%);

 

HEX #4E2704 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #4E2704 13%, #281402 100%);

 

HEX #281402 to HEX #753B06


CSS-Code:

background-image: linear-gradient(135deg, #281402 3%, #753B06 86%);

 

HEX #281402 to HEX #753B06


CSS-Code:

background-image: radial-gradient(circle, #281402 8%, #753B06 94%);

 

HEX #753B06 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #753B06 6%, #281402 88%);

 

HEX #753B06 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #753B06 6%, #281402 99%);

Lineal

HEX #281402 to HEX #270902


CSS-Code:

background-image: linear-gradient(135deg, #281402 8%, #270902 97%);

Radial

HEX #281402 to HEX #270902


CSS-Code:

background-image: radial-gradient(circle, #281402 13%, #270902 91%);

 

HEX #270902 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #270902 11%, #281402 98%);

 

HEX #270902 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #270902 13%, #281402 92%);

 

HEX #281402 to HEX #271302


CSS-Code:

background-image: linear-gradient(135deg, #281402 12%, #271302 98%);

 

HEX #281402 to HEX #271302


CSS-Code:

background-image: radial-gradient(circle, #281402 4%, #271302 86%);

 

HEX #271302 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #271302 12%, #281402 88%);

 

HEX #271302 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #271302 5%, #281402 94%);

 

HEX #281402 to HEX #271D02


CSS-Code:

background-image: linear-gradient(135deg, #281402 13%, #271D02 98%);

 

HEX #281402 to HEX #271D02


CSS-Code:

background-image: radial-gradient(circle, #281402 14%, #271D02 93%);

 

HEX #271D02 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #271D02 5%, #281402 93%);

 

HEX #271D02 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #271D02 0%, #281402 92%);

 

HEX #281402 to HEX #272702


CSS-Code:

background-image: linear-gradient(135deg, #281402 12%, #272702 91%);

 

HEX #281402 to HEX #272702


CSS-Code:

background-image: radial-gradient(circle, #281402 1%, #272702 92%);

 

HEX #272702 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #272702 11%, #281402 96%);

 

HEX #272702 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #272702 4%, #281402 88%);

Lineal

HEX #281402 to HEX #271302


CSS-Code:

background-image: linear-gradient(135deg, #281402 0%, #271302 94%);

Radial

HEX #281402 to HEX #271302


CSS-Code:

background-image: radial-gradient(circle, #281402 11%, #271302 99%);

 

HEX #271302 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #271302 14%, #281402 88%);

 

HEX #271302 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #271302 13%, #281402 89%);

 

HEX #281402 to HEX #4E2704


CSS-Code:

background-image: linear-gradient(135deg, #281402 5%, #4E2704 94%);

 

HEX #281402 to HEX #4E2704


CSS-Code:

background-image: radial-gradient(circle, #281402 10%, #4E2704 93%);

 

HEX #4E2704 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #4E2704 9%, #281402 94%);

 

HEX #4E2704 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #4E2704 5%, #281402 88%);

 

HEX #281402 to HEX #753B06


CSS-Code:

background-image: linear-gradient(135deg, #281402 1%, #753B06 93%);

 

HEX #281402 to HEX #753B06


CSS-Code:

background-image: radial-gradient(circle, #281402 7%, #753B06 95%);

 

HEX #753B06 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #753B06 3%, #281402 97%);

 

HEX #753B06 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #753B06 8%, #281402 90%);

Lineal

HEX #281402 to HEX #0E2702


CSS-Code:

background-image: linear-gradient(135deg, #281402 2%, #0E2702 97%);

Radial

HEX #281402 to HEX #0E2702


CSS-Code:

background-image: radial-gradient(circle, #281402 7%, #0E2702 93%);

 

HEX #0E2702 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #0E2702 6%, #281402 88%);

 

HEX #0E2702 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #0E2702 9%, #281402 90%);

 

HEX #281402 to HEX #040227


CSS-Code:

background-image: linear-gradient(135deg, #281402 3%, #040227 97%);

 

HEX #281402 to HEX #040227


CSS-Code:

background-image: radial-gradient(circle, #281402 3%, #040227 93%);

 

HEX #040227 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #040227 8%, #281402 87%);

 

HEX #040227 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #040227 10%, #281402 89%);

Lineal

HEX #281402 to HEX #022713


CSS-Code:

background-image: linear-gradient(135deg, #281402 6%, #022713 92%);

Radial

HEX #281402 to HEX #022713


CSS-Code:

background-image: radial-gradient(circle, #281402 8%, #022713 90%);

 

HEX #022713 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #022713 9%, #281402 89%);

 

HEX #022713 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #022713 8%, #281402 100%);

 

HEX #281402 to HEX #130227


CSS-Code:

background-image: linear-gradient(135deg, #281402 6%, #130227 90%);

 

HEX #281402 to HEX #130227


CSS-Code:

background-image: radial-gradient(circle, #281402 11%, #130227 91%);

 

HEX #130227 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #130227 7%, #281402 97%);

 

HEX #130227 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #130227 5%, #281402 100%);

Lineal

HEX #281402 to HEX #0E2702


CSS-Code:

background-image: linear-gradient(135deg, #281402 4%, #0E2702 94%);

Radial

HEX #281402 to HEX #0E2702


CSS-Code:

background-image: radial-gradient(circle, #281402 3%, #0E2702 98%);

 

HEX #0E2702 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #0E2702 5%, #281402 96%);

 

HEX #0E2702 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #0E2702 2%, #281402 91%);

 

HEX #281402 to HEX #021627


CSS-Code:

background-image: linear-gradient(135deg, #281402 6%, #021627 94%);

 

HEX #281402 to HEX #021627


CSS-Code:

background-image: radial-gradient(circle, #281402 14%, #021627 87%);

 

HEX #021627 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #021627 9%, #281402 94%);

 

HEX #021627 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #021627 11%, #281402 86%);

 

HEX #281402 to HEX #1B0227


CSS-Code:

background-image: linear-gradient(135deg, #281402 12%, #1B0227 89%);

 

HEX #281402 to HEX #1B0227


CSS-Code:

background-image: radial-gradient(circle, #281402 6%, #1B0227 94%);

 

HEX #1B0227 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #1B0227 11%, #281402 100%);

 

HEX #1B0227 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #1B0227 14%, #281402 92%);

Lineal

HEX #281402 to HEX #032702


CSS-Code:

background-image: linear-gradient(135deg, #281402 6%, #032702 99%);

Radial

HEX #281402 to HEX #032702


CSS-Code:

background-image: radial-gradient(circle, #281402 9%, #032702 90%);

 

HEX #032702 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #032702 1%, #281402 89%);

 

HEX #032702 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #032702 14%, #281402 86%);

 

HEX #281402 to HEX #021627


CSS-Code:

background-image: linear-gradient(135deg, #281402 10%, #021627 94%);

 

HEX #281402 to HEX #021627


CSS-Code:

background-image: radial-gradient(circle, #281402 10%, #021627 88%);

 

HEX #021627 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #021627 9%, #281402 91%);

 

HEX #021627 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #021627 1%, #281402 95%);

 

HEX #281402 to HEX #260227


CSS-Code:

background-image: linear-gradient(135deg, #281402 0%, #260227 88%);

 

HEX #281402 to HEX #260227


CSS-Code:

background-image: radial-gradient(circle, #281402 0%, #260227 91%);

 

HEX #260227 to HEX #281402


CSS-Code:

background-image: linear-gradient(135deg, #260227 11%, #281402 94%);

 

HEX #260227 to HEX #281402


CSS-Code:

background-image: radial-gradient(circle, #260227 6%, #281402 100%);

Show more color palettes

Services

Colors

RGB to HEX

convert from RGB red green blue to #RRGGBB

RGB to CMYK

convert from RGB red green blue to CMYK cyan / magenta / yellow / black

Icons

RGB to RAL®

convert from RGB red green blue to RAL®-number (RAL 0000)

RGB to HKS®

convert from RGB red green blue to HKS®-number (HKS 00)

RGB to PANTONE®

convert from RGB red green blue to Pantone®-number (Pantone 0000)

RGB to Sherwin Williams®

convert from RGB red green blue to Sherwin Williams®-number (SW 0000)

RGB to NCS®

convert from RGB red green blue to NCS-number (S0000-X00X)

nsc-logo

RGBA to HEX

convert from RGBA red green blue transparency to #RRGGBB

RGBA to CMYK

convert from RGBA red green blue transparency to CMYK cyan / magenta / yellow / black

Icons

RGBA to RAL®

convert from RGBA red green blue transparency to RAL®-number (RAL 0000)

RGBA to HKS®

convert from RGBA red green blue transparency to HKS®-number (HKS 00)

RGBA to PANTONE®

convert from RGBA red green blue transparency to Pantone®-number (Pantone 0000)

RGBA to Sherwin Williams®

convert from RGBA red green blue transparency to Sherwin Williams®-number (SW 0000)

RGBA to NCS®

convert from RGBA red green blue transparency to NCS-number (S0000-X00X)

nsc-logo

CMYK to HEX

convert from CMYK cyan / magenta / yellow / black to #RRGGBB

CMYK to RGB

convert from CMYK cyan / magenta / yellow / black to RGB red green blue

CMYK to RGBA

convert from CMYK cyan / magenta / yellow / black to RGBA red green blue transparency

CMYK to RAL®

convert from CMYK cyan / magenta / yellow / black to RAL®-number (RAL 0000)

CMYK to HKS®

convert from CMYK cyan / magenta / yellow / black to HKS®-number (HKS 00)

CMYK to PANTONE®

convert from CMYK cyan / magenta / yellow / black to Pantone®-number (Pantone 0000)

CMYK to Sherwin Williams®

convert from CMYK cyan / magenta / yellow / black to Sherwin Williams®-number (SW 0000)

CMYK to NCS®

convert from CMYK cyan / magenta / yellow / black to NCS-number (S0000-X00X)

nsc-logo

HEX to RGB

convert from #RRGGBB to RGB red green blue

HEX to RGBA

convert from #RRGGBB to RGBA red green blue transparency

HEX to CMYK

convert from #RRGGBB to CMYK cyan / magenta / yellow / black

Icons

HEX to RAL®

convert from #RRGGBB to RAL®-number (RAL 0000)

HEX to HKS®

convert from #RRGGBB to HKS®-number (HKS 00)

HEX to PANTONE®

convert from #RRGGBB to Pantone®-number (Pantone 0000)

HEX to Sherwin Williams®

convert from #RRGGBB to Sherwin Williams®-number (SW 0000)

HEX to NCS®

convert from #RRGGBB to NCS-number (S0000-X00X)

nsc-logo

RAL® to RGB

convert from RAL®-number (RAL 0000) to RGB red green blue

RAL® to RGBA

convert from RAL®-number (RAL 0000) to RGBA red green blue transparency

RAL® to CMYK

convert from RAL®-number (RAL 0000) to CMYK cyan / magenta / yellow / black

Icons

RAL® to HEX

convert from RAL®-number (RAL 0000) to #RRGGBB

RAL® to HKS®

convert from RAL®-number (RAL 0000) to HKS®-number (HKS 00)

RAL® to PANTONE®

convert from RAL®-number (RAL 0000) to Pantone®-number (Pantone 0000)

RAL® to Sherwin Williams®

convert from RAL®-number (RAL 0000) to Sherwin Williams®-number (SW 0000)

RAL® to NCS®

convert from RAL®-number (RAL 0000) to NCS-number (S0000-X00X)

nsc-logo

HKS® to RGB

convert from HKS®-number (HKS 00) to RGB red green blue

HKS® to RGBA

convert from HKS®-number (HKS 00) to RGBA red green blue transparency

HKS® to CMYK

convert from HKS®-number (HKS 00) to CMYK cyan / magenta / yellow / black

Icons

HKS® to HEX

convert from HKS®-number (HKS 00) to #RRGGBB

HKS® to RAL®

convert from HKS®-number (HKS 00) to RAL®-number (RAL 0000)

HKS® to PANTONE®

convert from HKS®-number (HKS 00) to Pantone®-number (Pantone 0000)

HKS® to Sherwin Williams®

convert from HKS®-number (HKS 00) to Sherwin Williams®-number (SW 0000)

HKS® to NCS®

convert from HKS®-number (HKS 00) to NCS-number (S0000-X00X)

nsc-logo

PANTONE® to RGB

convert from Pantone®-number (Pantone 0000) to RGB red green blue

PANTONE® to RGBA

convert from Pantone®-number (Pantone 0000) to RGBA red green blue transparency

PANTONE® to CMYK

convert from Pantone®-number (Pantone 0000) to CMYK cyan / magenta / yellow / black

Icons

PANTONE® to HEX

convert from Pantone®-number (Pantone 0000) to #RRGGBB

PANTONE® to RAL®

convert from Pantone®-number (Pantone 0000) to RAL®-number (RAL 0000)

PANTONE® to HKS®

convert from Pantone®-number (Pantone 0000) to HKS®-number (HKS 00)

PANTONE® to Sherwin Williams®

convert from Pantone®-number (Pantone 0000) to Sherwin Williams®-number (SW 0000)

PANTONE® to NCS®

convert from Pantone®-number (Pantone 0000) to NCS-number (S0000-X00X)

nsc-logo

Sherwin Williams® to RGB

convert from Sherwin Williams®-number (SW 0000) to RGB red green blue

Sherwin Williams® to RGBA

convert from Sherwin Williams®-number (SW 0000) to RGBA red green blue transparency

Sherwin Williams® to CMYK

convert from Sherwin Williams®-number (SW 0000) to CMYK cyan / magenta / yellow / black

Icons

Sherwin Williams® to HEX

convert from Sherwin Williams®-number (SW 0000) to #RRGGBB

Sherwin Williams® to RAL®

convert from Sherwin Williams®-number (SW 0000) to RAL®-number (RAL 0000)

Sherwin Williams® to HKS®

convert from Sherwin Williams®-number (SW 0000) to HKS®-number (HKS 00)

Sherwin Williams® to PANTONE®

convert from Sherwin Williams®-number (SW 0000) to Pantone®-number (Pantone 0000)

Sherwin Williams® to NCS®

convert from Sherwin Williams®-number (SW 0000) to NCS-number (S0000-X00X)

nsc-logo

NCS® to RGB

convert from NCS-number (S0000-X00X) to RGB red green blue

NCS® to RGBA

convert from NCS-number (S0000-X00X) to RGBA red green blue transparency

NCS® to CMYK

convert from NCS-number (S0000-X00X) to CMYK cyan / magenta / yellow / black

Icons

NCS® to HEX

convert from NCS-number (S0000-X00X) to #RRGGBB

NCS® to RAL®

convert from NCS-number (S0000-X00X) to RAL®-number (RAL 0000)

NCS® to HKS®

convert from NCS-number (S0000-X00X) to HKS®-number (HKS 00)

NCS® to PANTONE®

convert from NCS-number (S0000-X00X) to Pantone®-number (Pantone 0000)

To be able to save color palettes, a registration is required.

Log in to your account

or

Create an account

Current color palette Share
Should it be public or private?
Link(s) will follow after sharing.

Cancel Share

Color palette shared
Please copy and save the desired link.

Share

OK, I have copied the links

Your colors will be saved in a new color palette.
View them under your profile.
You can customize them further, and share them.

Show color palette
Close

Create a color palette

DownloadDownload in different formats

Remove All

By clicking on you can create palettes and download the color swatches.