In RGB color space, #040ed1 hex color has a red value of 4, a green value of 14 and a blue value of 209.
In CMYK color space (used in color printing), #040ed1 hex color is composed of 98.09% cyan, 93.3% magenta, 0% yellow and 18.04% black.
#040ed1 color has a hue of 237.1 degrees, a saturation of 96.24% and a lightness of 41.8%.
#040ed1 hex color contains mainly BLUE.
The closest web safe color of #040ed1 is #0000cc
#040ed1 hex color has a decimal value of 265937.
HEX | 040ed1 | #040ed1 |
---|---|---|
RGB | 4, 14, 209 | rgb(4, 14, 209) |
RGB Percent | 1.57, 5.49, 81.96 | rgb(1.57, 5.49, 81.96) |
CMYK | 98, 93, 0, 18 | |
HSL | 237.1°, 96.24, 41.8 | hsl(237.1, 96.24%, 41.8%) |
HSV | 237.1°, 98.1, 82 |
XYZ | 11.716, 4.943, 60.658 |
---|---|
Hunter Lab | 22.233, 55.156, -146.198 |
CIE-LAB | 26.572, 65.339, -91.166 |
CIE-LCH | 26.572, 112.162, 305.629 |
CIE-LUV | 98.09, 93.3, 0, 18.04 |
Web Safe | 0000cc |
RGB percent of color #040ed1
CMYK percent of color #040ed1
Text with hexadecimal color #040ed1
This text has a font color of #040ed1
<p style="color:#040ed1">Text here</p>
#040ed1 Background Color
This box has a background color of #040ed1
<div style="background-color:#040ed1">Text here</div>
#040ed1 Border Color
This box has a border color of #040ed1
<div style="border: 4px solid #040ed1">Text here</div>
CSS codes
<p style="color:#040ed1">Text here</p>
<div style="background-color:#040ed1">Text here</div>
<div style="border: 4px solid #040ed1">Text here</div>
#040ed1 Color on white background
This is how a font and box color of #040ed1 will look
on a white background.
#040ed1 Color on black background
This is how a font and box color of #040ed1 hex color will look
on a black background.