In RGB color space, #040fac hex color has a red value of 4, a green value of 15 and a blue value of 172.
In CMYK color space (used in color printing), #040fac hex color is composed of 97.67% cyan, 91.28% magenta, 0% yellow and 32.55% black.
#040fac color has a hue of 236.1 degrees, a saturation of 95.45% and a lightness of 34.5%.
#040fac hex color contains mainly BLUE.
The closest web safe color of #040fac is #000099
#040fac hex color has a decimal value of 266156.
HEX | 040fac | #040fac |
---|---|---|
RGB | 4, 15, 172 | rgb(4, 15, 172) |
RGB Percent | 1.57, 5.88, 67.45 | rgb(1.57, 5.88, 67.45) |
CMYK | 98, 91, 0, 33 | |
HSL | 236.1°, 95.45, 34.5 | hsl(236.1, 95.45%, 34.5%) |
HSV | 236.1°, 97.7, 67.5 |
XYZ | 7.667, 3.346, 39.271 |
---|---|
Hunter Lab | 18.292, 42.806, -114.484 |
CIE-LAB | 21.379, 54.921, -77.917 |
CIE-LCH | 21.379, 95.328, 305.179 |
CIE-LUV | 97.67, 91.28, 0, 32.55 |
Web Safe | 000099 |
RGB percent of color #040fac
CMYK percent of color #040fac
Text with hexadecimal color #040fac
This text has a font color of #040fac
<p style="color:#040fac">Text here</p>
#040fac Background Color
This box has a background color of #040fac
<div style="background-color:#040fac">Text here</div>
#040fac Border Color
This box has a border color of #040fac
<div style="border: 4px solid #040fac">Text here</div>
CSS codes
<p style="color:#040fac">Text here</p>
<div style="background-color:#040fac">Text here</div>
<div style="border: 4px solid #040fac">Text here</div>
#040fac Color on white background
This is how a font and box color of #040fac will look
on a white background.
#040fac Color on black background
This is how a font and box color of #040fac hex color will look
on a black background.