#04108f Hex Color
rgb(4, 16, 143)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 04 | 10 | 8f | - | #04108f |
RGB | 4 | 16 | 143 | - | rgb(4,16,143) |
HSL | 235 | 95% | 29% | - | hsl(235,95%,29%) |
HSV | 235 | 97% | 56% | - | hsv(235,97%,56%) |
XYZ | 5.1933 | 2.3796 | 26.1722 | - | xyz(5.1933,2.3796,26.1722) |
CIE-LAB | 17.37 | 45.92 | -66.83 | - | lab(17.37,45.92,-66.83) |
CMYK | 0.97202797202797 | 0.88811188811189 | 0 | 0.43921568627451 | cmyk(0.97202797202797,0.88811188811189,0,0.43921568627451) |
Description
The RGB value of color #04108f is rgb(4, 16, 143).
In the hex color #04108f, The value of Red is 4, value of Green is 16, and value of Blue is 143. The primary color is Blue. Similarly, The HSL values for #04108f consists of 235° Hue, 95% Saturation, and 29% Lightness.
In the CMYK color model, the color #04108f can be represented as Cyan=0.97202797202797%, Magenta=0.88811188811189%, Yellow=0%, and Black=0.43921568627451%.
Shades of #04108f
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 #04108f
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #04108f
Preview of #04108f on White Background
The contrast ratio of #04108f with white color is 14.23
#04108f color will look good on a white background.
Preview of #04108f on black background
The contrast ratio of #04108f with black color is 1.48
Color Schemes of #04108f
Triadic Colors of #04108f
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 #04108f
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 #04108f
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 #04108f
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 #04108f
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: #04108f;
}
This is a sample text used for the color #04108f. 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: #04108f;
}
This is a sample text used for the color #04108f. 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 #04108f;
}
This is a sample text used for the color #04108f. 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 2.45%
Green 9.82%
Blue 87.73%
CMYK Percentage
Cyan 42.27
Magenta 38.62%
Yellow 0%
Black 19.1%
Comments on this color
Please login or signup to post a comment.
No comments yet.