In RGB color space, #040ed9 hex color has a red value of 4, a green value of 14 and a blue value of 217.
In CMYK color space (used in color printing), #040ed9 hex color is composed of 98.16% cyan, 93.55% magenta, 0% yellow and 14.9% black.
#040ed9 color has a hue of 237.2 degrees, a saturation of 96.38% and a lightness of 43.3%.
#040ed9 hex color contains mainly BLUE.
The closest web safe color of #040ed9 is #0000cc
#040ed9 hex color has a decimal value of 265945.
HEX | 040ed9 | #040ed9 |
---|---|---|
RGB | 4, 14, 217 | rgb(4, 14, 217) |
RGB Percent | 1.57, 5.49, 85.1 | rgb(1.57, 5.49, 85.1) |
CMYK | 98, 94, 0, 15 | |
HSL | 237.2°, 96.38, 43.3 | hsl(237.2, 96.38%, 43.3%) |
HSV | 237.2°, 98.2, 85.1 |
XYZ | 12.731, 5.35, 66.007 |
---|---|
Hunter Lab | 23.13, 57.77, -153.007 |
CIE-LAB | 27.71, 67.423, -93.906 |
CIE-LCH | 27.71, 115.604, 305.678 |
CIE-LUV | 98.16, 93.55, 0, 14.9 |
Web Safe | 0000cc |
RGB percent of color #040ed9
CMYK percent of color #040ed9
Text with hexadecimal color #040ed9
This text has a font color of #040ed9
<p style="color:#040ed9">Text here</p>
#040ed9 Background Color
This box has a background color of #040ed9
<div style="background-color:#040ed9">Text here</div>
#040ed9 Border Color
This box has a border color of #040ed9
<div style="border: 4px solid #040ed9">Text here</div>
CSS codes
<p style="color:#040ed9">Text here</p>
<div style="background-color:#040ed9">Text here</div>
<div style="border: 4px solid #040ed9">Text here</div>
#040ed9 Color on white background
This is how a font and box color of #040ed9 will look
on a white background.
#040ed9 Color on black background
This is how a font and box color of #040ed9 hex color will look
on a black background.