In RGB color space, #040cd5 hex color has a red value of 4, a green value of 12 and a blue value of 213.
In CMYK color space (used in color printing), #040cd5 hex color is composed of 98.12% cyan, 94.37% magenta, 0% yellow and 16.47% black.
#040cd5 color has a hue of 237.7 degrees, a saturation of 96.31% and a lightness of 42.5%.
#040cd5 hex color contains mainly BLUE.
The closest web safe color of #040cd5 is #0000cc
#040cd5 hex color has a decimal value of 265429.
HEX | 040cd5 | #040cd5 |
---|---|---|
RGB | 4, 12, 213 | rgb(4, 12, 213) |
RGB Percent | 1.57, 4.71, 83.53 | rgb(1.57, 4.71, 83.53) |
CMYK | 98, 94, 0, 16 | |
HSL | 237.7°, 96.31, 42.5 | hsl(237.7, 96.31%, 42.5%) |
HSV | 237.7°, 98.1, 83.5 |
XYZ | 12.192, 5.093, 63.291 |
---|---|
Hunter Lab | 22.568, 56.94, -150.481 |
CIE-LAB | 26.998, 66.827, -92.779 |
CIE-LCH | 26.998, 114.341, 305.765 |
CIE-LUV | 98.12, 94.37, 0, 16.47 |
Web Safe | 0000cc |
RGB percent of color #040cd5
CMYK percent of color #040cd5
Text with hexadecimal color #040cd5
This text has a font color of #040cd5
<p style="color:#040cd5">Text here</p>
#040cd5 Background Color
This box has a background color of #040cd5
<div style="background-color:#040cd5">Text here</div>
#040cd5 Border Color
This box has a border color of #040cd5
<div style="border: 4px solid #040cd5">Text here</div>
CSS codes
<p style="color:#040cd5">Text here</p>
<div style="background-color:#040cd5">Text here</div>
<div style="border: 4px solid #040cd5">Text here</div>
#040cd5 Color on white background
This is how a font and box color of #040cd5 will look
on a white background.
#040cd5 Color on black background
This is how a font and box color of #040cd5 hex color will look
on a black background.