In RGB color space, #040ed3 hex color has a red value of 4, a green value of 14 and a blue value of 211.
In CMYK color space (used in color printing), #040ed3 hex color is composed of 98.1% cyan, 93.36% magenta, 0% yellow and 17.25% black.
#040ed3 color has a hue of 237.1 degrees, a saturation of 96.28% and a lightness of 42.2%.
#040ed3 hex color contains mainly BLUE.
The closest web safe color of #040ed3 is #0000cc
#040ed3 hex color has a decimal value of 265939.
HEX | 040ed3 | #040ed3 |
---|---|---|
RGB | 4, 14, 211 | rgb(4, 14, 211) |
RGB Percent | 1.57, 5.49, 82.75 | rgb(1.57, 5.49, 82.75) |
CMYK | 98, 93, 0, 17 | |
HSL | 237.1°, 96.28, 42.2 | hsl(237.1, 96.28%, 42.2%) |
HSV | 237.1°, 98.1, 82.7 |
XYZ | 11.965, 5.043, 61.971 |
---|---|
Hunter Lab | 22.457, 55.807, -147.896 |
CIE-LAB | 26.857, 65.861, -91.853 |
CIE-LCH | 26.857, 113.025, 305.642 |
CIE-LUV | 98.1, 93.36, 0, 17.25 |
Web Safe | 0000cc |
RGB percent of color #040ed3
CMYK percent of color #040ed3
Text with hexadecimal color #040ed3
This text has a font color of #040ed3
<p style="color:#040ed3">Text here</p>
#040ed3 Background Color
This box has a background color of #040ed3
<div style="background-color:#040ed3">Text here</div>
#040ed3 Border Color
This box has a border color of #040ed3
<div style="border: 4px solid #040ed3">Text here</div>
CSS codes
<p style="color:#040ed3">Text here</p>
<div style="background-color:#040ed3">Text here</div>
<div style="border: 4px solid #040ed3">Text here</div>
#040ed3 Color on white background
This is how a font and box color of #040ed3 will look
on a white background.
#040ed3 Color on black background
This is how a font and box color of #040ed3 hex color will look
on a black background.