In RGB color space, #040dcb hex color has a red value of 4, a green value of 13 and a blue value of 203.
In CMYK color space (used in color printing), #040dcb hex color is composed of 98.03% cyan, 93.6% magenta, 0% yellow and 20.39% black.
#040dcb color has a hue of 237.3 degrees, a saturation of 96.14% and a lightness of 40.6%.
#040dcb hex color contains mainly BLUE.
The closest web safe color of #040dcb is #0000cc
#040dcb hex color has a decimal value of 265675.
HEX | 040dcb | #040dcb |
---|---|---|
RGB | 4, 13, 203 | rgb(4, 13, 203) |
RGB Percent | 1.57, 5.1, 79.61 | rgb(1.57, 5.1, 79.61) |
CMYK | 98, 94, 0, 20 | |
HSL | 237.3°, 96.14, 40.6 | hsl(237.3, 96.14%, 40.6%) |
HSV | 237.3°, 98, 79.6 |
XYZ | 10.973, 4.625, 56.814 |
---|---|
Hunter Lab | 21.506, 53.442, -141.578 |
CIE-LAB | 25.639, 63.986, -89.223 |
CIE-LCH | 25.639, 109.795, 305.646 |
CIE-LUV | 98.03, 93.6, 0, 20.39 |
Web Safe | 0000cc |
RGB percent of color #040dcb
CMYK percent of color #040dcb
Text with hexadecimal color #040dcb
This text has a font color of #040dcb
<p style="color:#040dcb">Text here</p>
#040dcb Background Color
This box has a background color of #040dcb
<div style="background-color:#040dcb">Text here</div>
#040dcb Border Color
This box has a border color of #040dcb
<div style="border: 4px solid #040dcb">Text here</div>
CSS codes
<p style="color:#040dcb">Text here</p>
<div style="background-color:#040dcb">Text here</div>
<div style="border: 4px solid #040dcb">Text here</div>
#040dcb Color on white background
This is how a font and box color of #040dcb will look
on a white background.
#040dcb Color on black background
This is how a font and box color of #040dcb hex color will look
on a black background.