In RGB color space, #040cd9 hex color has a red value of 4, a green value of 12 and a blue value of 217.
In CMYK color space (used in color printing), #040cd9 hex color is composed of 98.16% cyan, 94.47% magenta, 0% yellow and 14.9% black.
#040cd9 color has a hue of 237.7 degrees, a saturation of 96.38% and a lightness of 43.3%.
#040cd9 hex color contains mainly BLUE.
The closest web safe color of #040cd9 is #0000cc
#040cd9 hex color has a decimal value of 265433.
HEX | 040cd9 | #040cd9 |
---|---|---|
RGB | 4, 12, 217 | rgb(4, 12, 217) |
RGB Percent | 1.57, 4.71, 85.1 | rgb(1.57, 4.71, 85.1) |
CMYK | 98, 94, 0, 15 | |
HSL | 237.7°, 96.38, 43.3 | hsl(237.7, 96.38%, 43.3%) |
HSV | 237.7°, 98.2, 85.1 |
XYZ | 12.706, 5.299, 65.999 |
---|---|
Hunter Lab | 23.02, 58.242, -153.876 |
CIE-LAB | 27.57, 67.856, -94.14 |
CIE-LCH | 27.57, 116.046, 305.784 |
CIE-LUV | 98.16, 94.47, 0, 14.9 |
Web Safe | 0000cc |
RGB percent of color #040cd9
CMYK percent of color #040cd9
Text with hexadecimal color #040cd9
This text has a font color of #040cd9
<p style="color:#040cd9">Text here</p>
#040cd9 Background Color
This box has a background color of #040cd9
<div style="background-color:#040cd9">Text here</div>
#040cd9 Border Color
This box has a border color of #040cd9
<div style="border: 4px solid #040cd9">Text here</div>
CSS codes
<p style="color:#040cd9">Text here</p>
<div style="background-color:#040cd9">Text here</div>
<div style="border: 4px solid #040cd9">Text here</div>
#040cd9 Color on white background
This is how a font and box color of #040cd9 will look
on a white background.
#040cd9 Color on black background
This is how a font and box color of #040cd9 hex color will look
on a black background.