In RGB color space, #04158c hex color has a red value of 4, a green value of 21 and a blue value of 140.
In CMYK color space (used in color printing), #04158c hex color is composed of 97.14% cyan, 85% magenta, 0% yellow and 45.1% black.
#04158c color has a hue of 232.5 degrees, a saturation of 94.44% and a lightness of 28.2%.
#04158c hex color contains mainly BLUE.
The closest web safe color of #04158c is #000099
#04158c hex color has a decimal value of 267660.
HEX | 04158c | #04158c |
---|---|---|
RGB | 4, 21, 140 | rgb(4, 21, 140) |
RGB Percent | 1.57, 8.24, 54.9 | rgb(1.57, 8.24, 54.9) |
CMYK | 97, 85, 0, 45 | |
HSL | 232.5°, 94.44, 28.2 | hsl(232.5, 94.44%, 28.2%) |
HSV | 232.5°, 97.1, 54.9 |
XYZ | 5.052, 2.456, 25.019 |
---|---|
Hunter Lab | 15.672, 30.117, -83.683 |
CIE-LAB | 17.718, 42.656, -64.364 |
CIE-LCH | 17.718, 77.216, 303.534 |
CIE-LUV | 97.14, 85, 0, 45.1 |
Web Safe | 000099 |
RGB percent of color #04158c
CMYK percent of color #04158c
Text with hexadecimal color #04158c
This text has a font color of #04158c
<p style="color:#04158c">Text here</p>
#04158c Background Color
This box has a background color of #04158c
<div style="background-color:#04158c">Text here</div>
#04158c Border Color
This box has a border color of #04158c
<div style="border: 4px solid #04158c">Text here</div>
CSS codes
<p style="color:#04158c">Text here</p>
<div style="background-color:#04158c">Text here</div>
<div style="border: 4px solid #04158c">Text here</div>
#04158c Color on white background
This is how a font and box color of #04158c will look
on a white background.
#04158c Color on black background
This is how a font and box color of #04158c hex color will look
on a black background.