In RGB color space, #040fa6 hex color has a red value of 4, a green value of 15 and a blue value of 166.
In CMYK color space (used in color printing), #040fa6 hex color is composed of 97.59% cyan, 90.96% magenta, 0% yellow and 34.9% black.
#040fa6 color has a hue of 235.9 degrees, a saturation of 95.29% and a lightness of 33.3%.
#040fa6 hex color contains mainly BLUE.
The closest web safe color of #040fa6 is #000099
#040fa6 hex color has a decimal value of 266150.
HEX | 040fa6 | #040fa6 |
---|---|---|
RGB | 4, 15, 166 | rgb(4, 15, 166) |
RGB Percent | 1.57, 5.88, 65.1 | rgb(1.57, 5.88, 65.1) |
CMYK | 98, 91, 0, 35 | |
HSL | 235.9°, 95.29, 33.3 | hsl(235.9, 95.29%, 33.3%) |
HSV | 235.9°, 97.6, 65.1 |
XYZ | 7.104, 3.121, 36.304 |
---|---|
Hunter Lab | 17.666, 40.862, -109.473 |
CIE-LAB | 20.522, 53.193, -75.715 |
CIE-LCH | 20.522, 92.532, 305.09 |
CIE-LUV | 97.59, 90.96, 0, 34.9 |
Web Safe | 000099 |
RGB percent of color #040fa6
CMYK percent of color #040fa6
Text with hexadecimal color #040fa6
This text has a font color of #040fa6
<p style="color:#040fa6">Text here</p>
#040fa6 Background Color
This box has a background color of #040fa6
<div style="background-color:#040fa6">Text here</div>
#040fa6 Border Color
This box has a border color of #040fa6
<div style="border: 4px solid #040fa6">Text here</div>
CSS codes
<p style="color:#040fa6">Text here</p>
<div style="background-color:#040fa6">Text here</div>
<div style="border: 4px solid #040fa6">Text here</div>
#040fa6 Color on white background
This is how a font and box color of #040fa6 will look
on a white background.
#040fa6 Color on black background
This is how a font and box color of #040fa6 hex color will look
on a black background.