In RGB color space, #040f9e hex color has a red value of 4, a green value of 15 and a blue value of 158.
In CMYK color space (used in color printing), #040f9e hex color is composed of 97.47% cyan, 90.51% magenta, 0% yellow and 38.04% black.
#040f9e color has a hue of 235.7 degrees, a saturation of 95.06% and a lightness of 31.8%.
#040f9e hex color contains mainly BLUE.
The closest web safe color of #040f9e is #000099
#040f9e hex color has a decimal value of 266142.
HEX | 040f9e | #040f9e |
---|---|---|
RGB | 4, 15, 158 | rgb(4, 15, 158) |
RGB Percent | 1.57, 5.88, 61.96 | rgb(1.57, 5.88, 61.96) |
CMYK | 97, 91, 0, 38 | |
HSL | 235.7°, 95.06, 31.8 | hsl(235.7, 95.06%, 31.8%) |
HSV | 235.7°, 97.5, 62 |
XYZ | 6.392, 2.836, 32.558 |
---|---|
Hunter Lab | 16.84, 38.281, -102.838 |
CIE-LAB | 19.375, 50.853, -72.749 |
CIE-LCH | 19.375, 88.761, 304.954 |
CIE-LUV | 97.47, 90.51, 0, 38.04 |
Web Safe | 000099 |
RGB percent of color #040f9e
CMYK percent of color #040f9e
Text with hexadecimal color #040f9e
This text has a font color of #040f9e
<p style="color:#040f9e">Text here</p>
#040f9e Background Color
This box has a background color of #040f9e
<div style="background-color:#040f9e">Text here</div>
#040f9e Border Color
This box has a border color of #040f9e
<div style="border: 4px solid #040f9e">Text here</div>
CSS codes
<p style="color:#040f9e">Text here</p>
<div style="background-color:#040f9e">Text here</div>
<div style="border: 4px solid #040f9e">Text here</div>
#040f9e Color on white background
This is how a font and box color of #040f9e will look
on a white background.
#040f9e Color on black background
This is how a font and box color of #040f9e hex color will look
on a black background.