In RGB color space, #040f96 hex color has a red value of 4, a green value of 15 and a blue value of 150.
In CMYK color space (used in color printing), #040f96 hex color is composed of 97.33% cyan, 90% magenta, 0% yellow and 41.18% black.
#040f96 color has a hue of 235.5 degrees, a saturation of 94.81% and a lightness of 30.2%.
#040f96 hex color contains mainly BLUE.
The closest web safe color of #040f96 is #000099
#040f96 hex color has a decimal value of 266134.
HEX | 040f96 | #040f96 |
---|---|---|
RGB | 4, 15, 150 | rgb(4, 15, 150) |
RGB Percent | 1.57, 5.88, 58.82 | rgb(1.57, 5.88, 58.82) |
CMYK | 97, 90, 0, 41 | |
HSL | 235.5°, 94.81, 30.2 | hsl(235.5, 94.81%, 30.2%) |
HSV | 235.5°, 97.3, 58.8 |
XYZ | 5.726, 2.569, 29.048 |
---|---|
Hunter Lab | 16.028, 35.72, -96.233 |
CIE-LAB | 18.228, 48.474, -69.737 |
CIE-LCH | 18.228, 84.929, 304.803 |
CIE-LUV | 97.33, 90, 0, 41.18 |
Web Safe | 000099 |
RGB percent of color #040f96
CMYK percent of color #040f96
Text with hexadecimal color #040f96
This text has a font color of #040f96
<p style="color:#040f96">Text here</p>
#040f96 Background Color
This box has a background color of #040f96
<div style="background-color:#040f96">Text here</div>
#040f96 Border Color
This box has a border color of #040f96
<div style="border: 4px solid #040f96">Text here</div>
CSS codes
<p style="color:#040f96">Text here</p>
<div style="background-color:#040f96">Text here</div>
<div style="border: 4px solid #040f96">Text here</div>
#040f96 Color on white background
This is how a font and box color of #040f96 will look
on a white background.
#040f96 Color on black background
This is how a font and box color of #040f96 hex color will look
on a black background.