In RGB color space, #04158a hex color has a red value of 4, a green value of 21 and a blue value of 138.
In CMYK color space (used in color printing), #04158a hex color is composed of 97.1% cyan, 84.78% magenta, 0% yellow and 45.88% black.
#04158a color has a hue of 232.4 degrees, a saturation of 94.37% and a lightness of 27.8%.
#04158a hex color contains mainly BLUE.
The closest web safe color of #04158a is #000099
#04158a hex color has a decimal value of 267658.
HEX | 04158a | #04158a |
---|---|---|
RGB | 4, 21, 138 | rgb(4, 21, 138) |
RGB Percent | 1.57, 8.24, 54.12 | rgb(1.57, 8.24, 54.12) |
CMYK | 97, 85, 0, 46 | |
HSL | 232.4°, 94.37, 27.8 | hsl(232.4, 94.37%, 27.8%) |
HSV | 232.4°, 97.1, 54.1 |
XYZ | 4.906, 2.397, 24.249 |
---|---|
Hunter Lab | 15.482, 29.469, -82.025 |
CIE-LAB | 17.446, 42.001, -63.563 |
CIE-LCH | 17.446, 76.186, 303.456 |
CIE-LUV | 97.1, 84.78, 0, 45.88 |
Web Safe | 000099 |
RGB percent of color #04158a
CMYK percent of color #04158a
Text with hexadecimal color #04158a
This text has a font color of #04158a
<p style="color:#04158a">Text here</p>
#04158a Background Color
This box has a background color of #04158a
<div style="background-color:#04158a">Text here</div>
#04158a Border Color
This box has a border color of #04158a
<div style="border: 4px solid #04158a">Text here</div>
CSS codes
<p style="color:#04158a">Text here</p>
<div style="background-color:#04158a">Text here</div>
<div style="border: 4px solid #04158a">Text here</div>
#04158a Color on white background
This is how a font and box color of #04158a will look
on a white background.
#04158a Color on black background
This is how a font and box color of #04158a hex color will look
on a black background.