In RGB color space, #040ec4 hex color has a red value of 4, a green value of 14 and a blue value of 196.
In CMYK color space (used in color printing), #040ec4 hex color is composed of 97.96% cyan, 92.86% magenta, 0% yellow and 23.14% black.
#040ec4 color has a hue of 236.9 degrees, a saturation of 96% and a lightness of 39.2%.
#040ec4 hex color contains mainly BLUE.
The closest web safe color of #040ec4 is #0000cc
#040ec4 hex color has a decimal value of 265924.
HEX | 040ec4 | #040ec4 |
---|---|---|
RGB | 4, 14, 196 | rgb(4, 14, 196) |
RGB Percent | 1.57, 5.49, 76.86 | rgb(1.57, 5.49, 76.86) |
CMYK | 98, 93, 0, 23 | |
HSL | 236.9°, 96, 39.2 | hsl(236.9, 96%, 39.2%) |
HSV | 236.9°, 98, 76.9 |
XYZ | 10.171, 4.325, 52.523 |
---|---|
Hunter Lab | 20.797, 50.905, -135.182 |
CIE-LAB | 24.718, 61.872, -86.65 |
CIE-LCH | 24.718, 106.472, 305.529 |
CIE-LUV | 97.96, 92.86, 0, 23.14 |
Web Safe | 0000cc |
RGB percent of color #040ec4
CMYK percent of color #040ec4
Text with hexadecimal color #040ec4
This text has a font color of #040ec4
<p style="color:#040ec4">Text here</p>
#040ec4 Background Color
This box has a background color of #040ec4
<div style="background-color:#040ec4">Text here</div>
#040ec4 Border Color
This box has a border color of #040ec4
<div style="border: 4px solid #040ec4">Text here</div>
CSS codes
<p style="color:#040ec4">Text here</p>
<div style="background-color:#040ec4">Text here</div>
<div style="border: 4px solid #040ec4">Text here</div>
#040ec4 Color on white background
This is how a font and box color of #040ec4 will look
on a white background.
#040ec4 Color on black background
This is how a font and box color of #040ec4 hex color will look
on a black background.