In RGB color space, #040dc2 hex color has a red value of 4, a green value of 13 and a blue value of 194.
In CMYK color space (used in color printing), #040dc2 hex color is composed of 97.94% cyan, 93.3% magenta, 0% yellow and 23.92% black.
#040dc2 color has a hue of 237.2 degrees, a saturation of 95.96% and a lightness of 38.8%.
#040dc2 hex color contains mainly BLUE.
The closest web safe color of #040dc2 is #0000cc
#040dc2 hex color has a decimal value of 265666.
HEX | 040dc2 | #040dc2 |
---|---|---|
RGB | 4, 13, 194 | rgb(4, 13, 194) |
RGB Percent | 1.57, 5.1, 76.08 | rgb(1.57, 5.1, 76.08) |
CMYK | 98, 93, 0, 24 | |
HSL | 237.2°, 95.96, 38.8 | hsl(237.2, 95.96%, 38.8%) |
HSV | 237.2°, 97.9, 76.1 |
XYZ | 9.932, 4.209, 51.328 |
---|---|
Hunter Lab | 20.516, 50.512, -133.975 |
CIE-LAB | 24.351, 61.581, -86.084 |
CIE-LCH | 24.351, 105.843, 305.578 |
CIE-LUV | 97.94, 93.3, 0, 23.92 |
Web Safe | 0000cc |
RGB percent of color #040dc2
CMYK percent of color #040dc2
Text with hexadecimal color #040dc2
This text has a font color of #040dc2
<p style="color:#040dc2">Text here</p>
#040dc2 Background Color
This box has a background color of #040dc2
<div style="background-color:#040dc2">Text here</div>
#040dc2 Border Color
This box has a border color of #040dc2
<div style="border: 4px solid #040dc2">Text here</div>
CSS codes
<p style="color:#040dc2">Text here</p>
<div style="background-color:#040dc2">Text here</div>
<div style="border: 4px solid #040dc2">Text here</div>
#040dc2 Color on white background
This is how a font and box color of #040dc2 will look
on a white background.
#040dc2 Color on black background
This is how a font and box color of #040dc2 hex color will look
on a black background.