Dear color lovers – together, we’ll have a more colorful future. Support us on

CSS Gradients:
RGB 4 8 31

Information

close all

We suggest CSS gradients from two color tones such as the base color 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.

Get CSS gradients from two color tones like the base color and a lighter shade.

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 us suggest CSS gradients from two shades like the base color and a darker shade.

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

Easy for Web Design: Copy the CSS code for easy integration on your website.

Display options

Description

Since the color values are relatively low compared to others, this hue appears darker to us.

The breakdown of the color into the RGB color system: of 255 maximum color components, 4 red, 8 green and 31 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 8 31 R G B
In the CMYK color system the color is composed as follows: In this color tone, out of 100 maximum color components, 87 cyan, 74 magenta, none yellow and 88 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.
87% 74% 0% 88% 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 #04081F to HEX #FBF7E0


CSS-Code:

background-image: linear-gradient(135deg, #04081F 8%, #FBF7E0 92%);

Radial

HEX #04081F to HEX #FBF7E0


CSS-Code:

background-image: radial-gradient(circle, #04081F 9%, #FBF7E0 95%);

 

HEX #FBF7E0 to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #FBF7E0 5%, #04081F 100%);

 

HEX #FBF7E0 to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #FBF7E0 2%, #04081F 100%);

Lineal

HEX #04081F to HEX #040F1F


CSS-Code:

background-image: linear-gradient(135deg, #04081F 12%, #040F1F 90%);

Radial

HEX #04081F to HEX #040F1F


CSS-Code:

background-image: radial-gradient(circle, #04081F 9%, #040F1F 91%);

 

HEX #040F1F to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #040F1F 14%, #04081F 100%);

 

HEX #040F1F to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #040F1F 6%, #04081F 91%);

 

HEX #04081F to HEX #07041F


CSS-Code:

background-image: linear-gradient(135deg, #04081F 11%, #07041F 95%);

 

HEX #04081F to HEX #07041F


CSS-Code:

background-image: radial-gradient(circle, #04081F 1%, #07041F 98%);

 

HEX #07041F to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #07041F 11%, #04081F 92%);

 

HEX #07041F to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #07041F 4%, #04081F 89%);

 

HEX #04081F to HEX #0E041F


CSS-Code:

background-image: linear-gradient(135deg, #04081F 6%, #0E041F 93%);

 

HEX #04081F to HEX #0E041F


CSS-Code:

background-image: radial-gradient(circle, #04081F 2%, #0E041F 98%);

 

HEX #0E041F to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #0E041F 10%, #04081F 90%);

 

HEX #0E041F to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #0E041F 3%, #04081F 86%);

Lineal

HEX #04081F to HEX #040F1F


CSS-Code:

background-image: linear-gradient(135deg, #04081F 4%, #040F1F 98%);

Radial

HEX #04081F to HEX #040F1F


CSS-Code:

background-image: radial-gradient(circle, #04081F 7%, #040F1F 96%);

 

HEX #040F1F to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #040F1F 13%, #04081F 91%);

 

HEX #040F1F to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #040F1F 1%, #04081F 86%);

 

HEX #04081F to HEX #07041F


CSS-Code:

background-image: linear-gradient(135deg, #04081F 0%, #07041F 97%);

 

HEX #04081F to HEX #07041F


CSS-Code:

background-image: radial-gradient(circle, #04081F 10%, #07041F 94%);

 

HEX #07041F to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #07041F 3%, #04081F 91%);

 

HEX #07041F to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #07041F 7%, #04081F 86%);

 

HEX #04081F to HEX #0E041F


CSS-Code:

background-image: linear-gradient(135deg, #04081F 10%, #0E041F 96%);

 

HEX #04081F to HEX #0E041F


CSS-Code:

background-image: radial-gradient(circle, #04081F 8%, #0E041F 91%);

 

HEX #0E041F to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #0E041F 6%, #04081F 89%);

 

HEX #0E041F to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #0E041F 3%, #04081F 94%);

Lineal

HEX #04081F to HEX #1F041E


CSS-Code:

background-image: linear-gradient(135deg, #04081F 13%, #1F041E 100%);

Radial

HEX #04081F to HEX #1F041E


CSS-Code:

background-image: radial-gradient(circle, #04081F 14%, #1F041E 91%);

 

HEX #1F041E to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #1F041E 11%, #04081F 100%);

 

HEX #1F041E to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #1F041E 14%, #04081F 98%);

 

HEX #04081F to HEX #131F04


CSS-Code:

background-image: linear-gradient(135deg, #04081F 14%, #131F04 96%);

 

HEX #04081F to HEX #131F04


CSS-Code:

background-image: radial-gradient(circle, #04081F 0%, #131F04 86%);

 

HEX #131F04 to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #131F04 14%, #04081F 90%);

 

HEX #131F04 to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #131F04 13%, #04081F 87%);

Lineal

HEX #04081F to HEX #1F0408


CSS-Code:

background-image: linear-gradient(135deg, #04081F 10%, #1F0408 91%);

Radial

HEX #04081F to HEX #1F0408


CSS-Code:

background-image: radial-gradient(circle, #04081F 1%, #1F0408 99%);

 

HEX #1F0408 to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #1F0408 11%, #04081F 86%);

 

HEX #1F0408 to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #1F0408 6%, #04081F 97%);

 

HEX #04081F to HEX #081F04


CSS-Code:

background-image: linear-gradient(135deg, #04081F 8%, #081F04 97%);

 

HEX #04081F to HEX #081F04


CSS-Code:

background-image: radial-gradient(circle, #04081F 9%, #081F04 95%);

 

HEX #081F04 to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #081F04 3%, #04081F 91%);

 

HEX #081F04 to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #081F04 5%, #04081F 99%);

Lineal

HEX #04081F to HEX #1F041E


CSS-Code:

background-image: linear-gradient(135deg, #04081F 1%, #1F041E 95%);

Radial

HEX #04081F to HEX #1F041E


CSS-Code:

background-image: radial-gradient(circle, #04081F 3%, #1F041E 98%);

 

HEX #1F041E to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #1F041E 11%, #04081F 94%);

 

HEX #1F041E to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #1F041E 1%, #04081F 86%);

 

HEX #04081F to HEX #1F1B04


CSS-Code:

background-image: linear-gradient(135deg, #04081F 13%, #1F1B04 92%);

 

HEX #04081F to HEX #1F1B04


CSS-Code:

background-image: radial-gradient(circle, #04081F 13%, #1F1B04 97%);

 

HEX #1F1B04 to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #1F1B04 6%, #04081F 89%);

 

HEX #1F1B04 to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #1F1B04 2%, #04081F 93%);

 

HEX #04081F to HEX #041F05


CSS-Code:

background-image: linear-gradient(135deg, #04081F 5%, #041F05 95%);

 

HEX #04081F to HEX #041F05


CSS-Code:

background-image: radial-gradient(circle, #04081F 14%, #041F05 86%);

 

HEX #041F05 to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #041F05 2%, #04081F 87%);

 

HEX #041F05 to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #041F05 11%, #04081F 95%);

Lineal

HEX #04081F to HEX #1F0415


CSS-Code:

background-image: linear-gradient(135deg, #04081F 1%, #1F0415 99%);

Radial

HEX #04081F to HEX #1F0415


CSS-Code:

background-image: radial-gradient(circle, #04081F 8%, #1F0415 99%);

 

HEX #1F0415 to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #1F0415 14%, #04081F 88%);

 

HEX #1F0415 to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #1F0415 14%, #04081F 93%);

 

HEX #04081F to HEX #1F1B04


CSS-Code:

background-image: linear-gradient(135deg, #04081F 13%, #1F1B04 98%);

 

HEX #04081F to HEX #1F1B04


CSS-Code:

background-image: radial-gradient(circle, #04081F 3%, #1F1B04 100%);

 

HEX #1F1B04 to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #1F1B04 7%, #04081F 99%);

 

HEX #1F1B04 to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #1F1B04 1%, #04081F 100%);

 

HEX #04081F to HEX #041F0D


CSS-Code:

background-image: linear-gradient(135deg, #04081F 2%, #041F0D 98%);

 

HEX #04081F to HEX #041F0D


CSS-Code:

background-image: radial-gradient(circle, #04081F 10%, #041F0D 86%);

 

HEX #041F0D to HEX #04081F


CSS-Code:

background-image: linear-gradient(135deg, #041F0D 13%, #04081F 87%);

 

HEX #041F0D to HEX #04081F


CSS-Code:

background-image: radial-gradient(circle, #041F0D 1%, #04081F 87%);

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, you must be logged in.

Sign 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 link you want.

Share

OK, I have copied the links

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

Show color palette
Close

Create a color palette

DownloadDownload in different formats

Remove All

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