In RGB color space, #040fcb hex color has a red value of 4, a green value of 15 and a blue value of 203.
In CMYK color space (used in color printing), #040fcb hex color is composed of 98.03% cyan, 92.61% magenta, 0% yellow and 20.39% black.
#040fcb color has a hue of 236.7 degrees, a saturation of 96.14% and a lightness of 40.6%.
#040fcb hex color contains mainly BLUE.
The closest web safe color of #040fcb is #0000cc
#040fcb hex color has a decimal value of 266187.
HEX | 040fcb | #040fcb |
---|---|---|
RGB | 4, 15, 203 | rgb(4, 15, 203) |
RGB Percent | 1.57, 5.88, 79.61 | rgb(1.57, 5.88, 79.61) |
CMYK | 98, 93, 0, 20 | |
HSL | 236.7°, 96.14, 40.6 | hsl(236.7, 96.14%, 40.6%) |
HSV | 236.7°, 98, 79.6 |
XYZ | 11, 4.679, 56.823 |
---|---|
Hunter Lab | 21.631, 52.918, -140.609 |
CIE-LAB | 25.8, 63.49, -88.953 |
CIE-LCH | 25.8, 109.287, 305.517 |
CIE-LUV | 98.03, 92.61, 0, 20.39 |
Web Safe | 0000cc |
RGB percent of color #040fcb
CMYK percent of color #040fcb
Text with hexadecimal color #040fcb
This text has a font color of #040fcb
<p style="color:#040fcb">Text here</p>
#040fcb Background Color
This box has a background color of #040fcb
<div style="background-color:#040fcb">Text here</div>
#040fcb Border Color
This box has a border color of #040fcb
<div style="border: 4px solid #040fcb">Text here</div>
CSS codes
<p style="color:#040fcb">Text here</p>
<div style="background-color:#040fcb">Text here</div>
<div style="border: 4px solid #040fcb">Text here</div>
#040fcb Color on white background
This is how a font and box color of #040fcb will look
on a white background.
#040fcb Color on black background
This is how a font and box color of #040fcb hex color will look
on a black background.