#04021c Hex Color
rgb(4, 2, 28)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 04 | 02 | 1c | - | #04021c |
RGB | 4 | 2 | 28 | - | rgb(4,2,28) |
HSL | 245 | 87% | 6% | - | hsl(245,87%,6%) |
HSV | 245 | 93% | 11% | - | hsv(245,93%,11%) |
XYZ | 0.2814 | 0.1531 | 1.1133 | - | xyz(0.2814,0.1531,1.1133) |
CIE-LAB | 1.38 | 5.57 | -13.44 | - | lab(1.38,5.57,-13.44) |
CMYK | 0.85714285714286 | 0.92857142857143 | 0 | 0.89019607843137 | cmyk(0.85714285714286,0.92857142857143,0,0.89019607843137) |
Description
The RGB value of color #04021c is rgb(4, 2, 28).
In the hex color #04021c, The value of Red is 4, value of Green is 2, and value of Blue is 28. The primary color is Blue. Similarly, The HSL values for #04021c consists of 245° Hue, 87% Saturation, and 6% Lightness.
In the CMYK color model, the color #04021c can be represented as Cyan=0.85714285714286%, Magenta=0.92857142857143%, Yellow=0%, and Black=0.89019607843137%.
Shades of #04021c
Shades in a color are variations of the color that are created by adding black to it which results in a darker tone.
Tints of #04021c
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #04021c
Preview of #04021c on White Background
The contrast ratio of #04021c with white color is 20.38
#04021c color will look good on a white background.
Preview of #04021c on black background
The contrast ratio of #04021c with black color is 1.03
Color Schemes of #04021c
Triadic Colors of #04021c
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #04021c
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Triadic Colors of #04021c
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #04021c
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Monochromatic Colors of #04021c
Monochromatic colors are variations of a single color that are created by using different shades, tints, and tones of that color which results in a harmonious and cohesive color scheme.
Color Usage
You can set the css color of a text using:
.class{
color: #04021c;
}
This is a sample text used for the color #04021c. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css background color of a box using:
.box{
background-color: #04021c;
}
This is a sample text used for the color #04021c. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css border of a box using:
.box{
border:4px solid #04021c;
}
This is a sample text used for the color #04021c. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
RGB Percentage
Red 11.76%
Green 5.88%
Blue 82.35%
CMYK Percentage
Cyan 32.03
Magenta 34.7%
Yellow 0%
Black 33.27%
Comments on this color
Please login or signup to post a comment.
No comments yet.