In RGB color space, #040fd7 hex color has a red value of 4, a green value of 15 and a blue value of 215.
In CMYK color space (used in color printing), #040fd7 hex color is composed of 98.14% cyan, 93.02% magenta, 0% yellow and 15.69% black.
#040fd7 color has a hue of 236.9 degrees, a saturation of 96.35% and a lightness of 42.9%.
#040fd7 hex color contains mainly BLUE.
The closest web safe color of #040fd7 is #0000cc
#040fd7 hex color has a decimal value of 266199.
HEX | 040fd7 | #040fd7 |
---|---|---|
RGB | 4, 15, 215 | rgb(4, 15, 215) |
RGB Percent | 1.57, 5.88, 84.31 | rgb(1.57, 5.88, 84.31) |
CMYK | 98, 93, 0, 16 | |
HSL | 236.9°, 96.35, 42.9 | hsl(236.9, 96.35%, 42.9%) |
HSV | 236.9°, 98.1, 84.3 |
XYZ | 12.487, 5.274, 64.65 |
---|---|
Hunter Lab | 22.965, 56.868, -150.833 |
CIE-LAB | 27.502, 66.674, -93.097 |
CIE-LCH | 27.502, 114.51, 305.609 |
CIE-LUV | 98.14, 93.02, 0, 15.69 |
Web Safe | 0000cc |
RGB percent of color #040fd7
CMYK percent of color #040fd7
Text with hexadecimal color #040fd7
This text has a font color of #040fd7
<p style="color:#040fd7">Text here</p>
#040fd7 Background Color
This box has a background color of #040fd7
<div style="background-color:#040fd7">Text here</div>
#040fd7 Border Color
This box has a border color of #040fd7
<div style="border: 4px solid #040fd7">Text here</div>
CSS codes
<p style="color:#040fd7">Text here</p>
<div style="background-color:#040fd7">Text here</div>
<div style="border: 4px solid #040fd7">Text here</div>
#040fd7 Color on white background
This is how a font and box color of #040fd7 will look
on a white background.
#040fd7 Color on black background
This is how a font and box color of #040fd7 hex color will look
on a black background.