#04126c Hex Color
rgb(4, 18, 108)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 04 | 12 | 6c | - | #04126c |
RGB | 4 | 18 | 108 | - | rgb(4,18,108) |
HSL | 232 | 93% | 22% | - | hsl(232,93%,22%) |
HSV | 232 | 96% | 42% | - | hsv(232,96%,42%) |
XYZ | 2.9732 | 1.5411 | 14.3281 | - | xyz(2.9732,1.5411,14.3281) |
CIE-LAB | 12.87 | 33.12 | -51.96 | - | lab(12.87,33.12,-51.96) |
CMYK | 0.96296296296296 | 0.83333333333333 | 0 | 0.57647058823529 | cmyk(0.96296296296296,0.83333333333333,0,0.57647058823529) |
Description
The RGB value of color #04126c is rgb(4, 18, 108).
In the hex color #04126c, The value of Red is 4, value of Green is 18, and value of Blue is 108. The primary color is Blue. Similarly, The HSL values for #04126c consists of 232° Hue, 93% Saturation, and 22% Lightness.
In the CMYK color model, the color #04126c can be represented as Cyan=0.96296296296296%, Magenta=0.83333333333333%, Yellow=0%, and Black=0.57647058823529%.
Shades of #04126c
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 #04126c
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #04126c
Preview of #04126c on White Background
The contrast ratio of #04126c with white color is 16.05
#04126c color will look good on a white background.
Preview of #04126c on black background
The contrast ratio of #04126c with black color is 1.31
Color Schemes of #04126c
Triadic Colors of #04126c
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 #04126c
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 #04126c
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 #04126c
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 #04126c
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: #04126c;
}
This is a sample text used for the color #04126c. 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: #04126c;
}
This is a sample text used for the color #04126c. 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 #04126c;
}
This is a sample text used for the color #04126c. 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 3.08%
Green 13.85%
Blue 83.08%
CMYK Percentage
Cyan 40.58
Magenta 35.12%
Yellow 0%
Black 24.3%
Comments on this color
Please login or signup to post a comment.
No comments yet.