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 4 24 40

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, 4 red, 24 green and 40 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.
4 24 40 R G B
In the CMYK color system the color is composed as follows: In this color tone, out of 100 maximum color components, 90 cyan, 40 magenta, none 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.
90% 40% 0% 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 #041828 to HEX #FBE7D7


CSS-Code:

background-image: linear-gradient(135deg, #041828 14%, #FBE7D7 99%);

Radial

HEX #041828 to HEX #FBE7D7


CSS-Code:

background-image: radial-gradient(circle, #041828 10%, #FBE7D7 86%);

 

HEX #FBE7D7 to HEX #041828


CSS-Code:

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

 

HEX #FBE7D7 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #FBE7D7 12%, #041828 87%);

Lineal

HEX #041828 to HEX #04232A


CSS-Code:

background-image: linear-gradient(135deg, #041828 5%, #04232A 90%);

Radial

HEX #041828 to HEX #04232A


CSS-Code:

background-image: radial-gradient(circle, #041828 4%, #04232A 91%);

 

HEX #04232A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #04232A 0%, #041828 89%);

 

HEX #04232A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #04232A 3%, #041828 98%);

 

HEX #041828 to HEX #04192A


CSS-Code:

background-image: linear-gradient(135deg, #041828 2%, #04192A 98%);

 

HEX #041828 to HEX #04192A


CSS-Code:

background-image: radial-gradient(circle, #041828 10%, #04192A 88%);

 

HEX #04192A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #04192A 12%, #041828 91%);

 

HEX #04192A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #04192A 1%, #041828 90%);

 

HEX #041828 to HEX #040F2A


CSS-Code:

background-image: linear-gradient(135deg, #041828 9%, #040F2A 93%);

 

HEX #041828 to HEX #040F2A


CSS-Code:

background-image: radial-gradient(circle, #041828 9%, #040F2A 99%);

 

HEX #040F2A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #040F2A 7%, #041828 92%);

 

HEX #040F2A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #040F2A 2%, #041828 89%);

 

HEX #041828 to HEX #04052A


CSS-Code:

background-image: linear-gradient(135deg, #041828 5%, #04052A 89%);

 

HEX #041828 to HEX #04052A


CSS-Code:

background-image: radial-gradient(circle, #041828 0%, #04052A 90%);

 

HEX #04052A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #04052A 3%, #041828 98%);

 

HEX #04052A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #04052A 5%, #041828 86%);

Lineal

HEX #041828 to HEX #000304


CSS-Code:

background-image: linear-gradient(135deg, #041828 13%, #000304 96%);

Radial

HEX #041828 to HEX #000304


CSS-Code:

background-image: radial-gradient(circle, #041828 10%, #000304 93%);

 

HEX #000304 to HEX #041828


CSS-Code:

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

 

HEX #000304 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #000304 2%, #041828 98%);

 

HEX #041828 to HEX #04192A


CSS-Code:

background-image: linear-gradient(135deg, #041828 5%, #04192A 91%);

 

HEX #041828 to HEX #04192A


CSS-Code:

background-image: radial-gradient(circle, #041828 11%, #04192A 99%);

 

HEX #04192A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #04192A 10%, #041828 96%);

 

HEX #04192A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #04192A 9%, #041828 90%);

 

HEX #041828 to HEX #08304F


CSS-Code:

background-image: linear-gradient(135deg, #041828 13%, #08304F 99%);

 

HEX #041828 to HEX #08304F


CSS-Code:

background-image: radial-gradient(circle, #041828 6%, #08304F 93%);

 

HEX #08304F to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #08304F 9%, #041828 90%);

 

HEX #08304F to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #08304F 7%, #041828 98%);

 

HEX #041828 to HEX #0C4675


CSS-Code:

background-image: linear-gradient(135deg, #041828 11%, #0C4675 93%);

 

HEX #041828 to HEX #0C4675


CSS-Code:

background-image: radial-gradient(circle, #041828 4%, #0C4675 99%);

 

HEX #0C4675 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #0C4675 3%, #041828 90%);

 

HEX #0C4675 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #0C4675 1%, #041828 89%);

Lineal

HEX #041828 to HEX #04232A


CSS-Code:

background-image: linear-gradient(135deg, #041828 4%, #04232A 89%);

Radial

HEX #041828 to HEX #04232A


CSS-Code:

background-image: radial-gradient(circle, #041828 9%, #04232A 93%);

 

HEX #04232A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #04232A 3%, #041828 86%);

 

HEX #04232A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #04232A 3%, #041828 94%);

 

HEX #041828 to HEX #04192A


CSS-Code:

background-image: linear-gradient(135deg, #041828 3%, #04192A 95%);

 

HEX #041828 to HEX #04192A


CSS-Code:

background-image: radial-gradient(circle, #041828 5%, #04192A 100%);

 

HEX #04192A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #04192A 5%, #041828 98%);

 

HEX #04192A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #04192A 9%, #041828 98%);

 

HEX #041828 to HEX #040F2A


CSS-Code:

background-image: linear-gradient(135deg, #041828 11%, #040F2A 87%);

 

HEX #041828 to HEX #040F2A


CSS-Code:

background-image: radial-gradient(circle, #041828 11%, #040F2A 94%);

 

HEX #040F2A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #040F2A 6%, #041828 88%);

 

HEX #040F2A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #040F2A 14%, #041828 89%);

 

HEX #041828 to HEX #04052A


CSS-Code:

background-image: linear-gradient(135deg, #041828 1%, #04052A 89%);

 

HEX #041828 to HEX #04052A


CSS-Code:

background-image: radial-gradient(circle, #041828 5%, #04052A 100%);

 

HEX #04052A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #04052A 8%, #041828 87%);

 

HEX #04052A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #04052A 8%, #041828 91%);

Lineal

HEX #041828 to HEX #000304


CSS-Code:

background-image: linear-gradient(135deg, #041828 12%, #000304 89%);

Radial

HEX #041828 to HEX #000304


CSS-Code:

background-image: radial-gradient(circle, #041828 4%, #000304 90%);

 

HEX #000304 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #000304 9%, #041828 90%);

 

HEX #000304 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #000304 0%, #041828 93%);

 

HEX #041828 to HEX #04192A


CSS-Code:

background-image: linear-gradient(135deg, #041828 13%, #04192A 87%);

 

HEX #041828 to HEX #04192A


CSS-Code:

background-image: radial-gradient(circle, #041828 12%, #04192A 99%);

 

HEX #04192A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #04192A 3%, #041828 99%);

 

HEX #04192A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #04192A 5%, #041828 90%);

 

HEX #041828 to HEX #08304F


CSS-Code:

background-image: linear-gradient(135deg, #041828 5%, #08304F 88%);

 

HEX #041828 to HEX #08304F


CSS-Code:

background-image: radial-gradient(circle, #041828 4%, #08304F 95%);

 

HEX #08304F to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #08304F 6%, #041828 98%);

 

HEX #08304F to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #08304F 12%, #041828 86%);

 

HEX #041828 to HEX #0C4675


CSS-Code:

background-image: linear-gradient(135deg, #041828 14%, #0C4675 95%);

 

HEX #041828 to HEX #0C4675


CSS-Code:

background-image: radial-gradient(circle, #041828 12%, #0C4675 99%);

 

HEX #0C4675 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #0C4675 12%, #041828 90%);

 

HEX #0C4675 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #0C4675 7%, #041828 94%);

Lineal

HEX #041828 to HEX #1C042A


CSS-Code:

background-image: linear-gradient(135deg, #041828 9%, #1C042A 98%);

Radial

HEX #041828 to HEX #1C042A


CSS-Code:

background-image: radial-gradient(circle, #041828 7%, #1C042A 98%);

 

HEX #1C042A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #1C042A 8%, #041828 91%);

 

HEX #1C042A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #1C042A 8%, #041828 95%);

 

HEX #041828 to HEX #292A04


CSS-Code:

background-image: linear-gradient(135deg, #041828 5%, #292A04 97%);

 

HEX #041828 to HEX #292A04


CSS-Code:

background-image: radial-gradient(circle, #041828 8%, #292A04 86%);

 

HEX #292A04 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #292A04 11%, #041828 100%);

 

HEX #292A04 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #292A04 12%, #041828 89%);

Lineal

HEX #041828 to HEX #2A0419


CSS-Code:

background-image: linear-gradient(135deg, #041828 4%, #2A0419 86%);

Radial

HEX #041828 to HEX #2A0419


CSS-Code:

background-image: radial-gradient(circle, #041828 12%, #2A0419 98%);

 

HEX #2A0419 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #2A0419 5%, #041828 97%);

 

HEX #2A0419 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #2A0419 10%, #041828 98%);

 

HEX #041828 to HEX #192A04


CSS-Code:

background-image: linear-gradient(135deg, #041828 3%, #192A04 96%);

 

HEX #041828 to HEX #192A04


CSS-Code:

background-image: radial-gradient(circle, #041828 13%, #192A04 87%);

 

HEX #192A04 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #192A04 12%, #041828 88%);

 

HEX #192A04 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #192A04 6%, #041828 86%);

Lineal

HEX #041828 to HEX #1C042A


CSS-Code:

background-image: linear-gradient(135deg, #041828 4%, #1C042A 96%);

Radial

HEX #041828 to HEX #1C042A


CSS-Code:

background-image: radial-gradient(circle, #041828 9%, #1C042A 97%);

 

HEX #1C042A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #1C042A 9%, #041828 89%);

 

HEX #1C042A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #1C042A 2%, #041828 86%);

 

HEX #041828 to HEX #2A1404


CSS-Code:

background-image: linear-gradient(135deg, #041828 4%, #2A1404 92%);

 

HEX #041828 to HEX #2A1404


CSS-Code:

background-image: radial-gradient(circle, #041828 11%, #2A1404 95%);

 

HEX #2A1404 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #2A1404 14%, #041828 99%);

 

HEX #2A1404 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #2A1404 12%, #041828 98%);

 

HEX #041828 to HEX #122A04


CSS-Code:

background-image: linear-gradient(135deg, #041828 11%, #122A04 96%);

 

HEX #041828 to HEX #122A04


CSS-Code:

background-image: radial-gradient(circle, #041828 0%, #122A04 90%);

 

HEX #122A04 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #122A04 1%, #041828 94%);

 

HEX #122A04 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #122A04 6%, #041828 100%);

Lineal

HEX #041828 to HEX #27042A


CSS-Code:

background-image: linear-gradient(135deg, #041828 5%, #27042A 97%);

Radial

HEX #041828 to HEX #27042A


CSS-Code:

background-image: radial-gradient(circle, #041828 6%, #27042A 100%);

 

HEX #27042A to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #27042A 8%, #041828 91%);

 

HEX #27042A to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #27042A 3%, #041828 95%);

 

HEX #041828 to HEX #2A1404


CSS-Code:

background-image: linear-gradient(135deg, #041828 12%, #2A1404 91%);

 

HEX #041828 to HEX #2A1404


CSS-Code:

background-image: radial-gradient(circle, #041828 5%, #2A1404 100%);

 

HEX #2A1404 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #2A1404 12%, #041828 92%);

 

HEX #2A1404 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #2A1404 13%, #041828 87%);

 

HEX #041828 to HEX #072A04


CSS-Code:

background-image: linear-gradient(135deg, #041828 13%, #072A04 96%);

 

HEX #041828 to HEX #072A04


CSS-Code:

background-image: radial-gradient(circle, #041828 0%, #072A04 94%);

 

HEX #072A04 to HEX #041828


CSS-Code:

background-image: linear-gradient(135deg, #072A04 5%, #041828 97%);

 

HEX #072A04 to HEX #041828


CSS-Code:

background-image: radial-gradient(circle, #072A04 7%, #041828 92%);

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.