In RGB color space, #040ec5 hex color has a red value of 4, a green value of 14 and a blue value of 197.
In CMYK color space (used in color printing), #040ec5 hex color is composed of 97.97% cyan, 92.89% magenta, 0% yellow and 22.75% black.
#040ec5 color has a hue of 236.9 degrees, a saturation of 96.02% and a lightness of 39.4%.
#040ec5 hex color contains mainly BLUE.
The closest web safe color of #040ec5 is #0000cc
#040ec5 hex color has a decimal value of 265925.
HEX | 040ec5 | #040ec5 |
---|---|---|
RGB | 4, 14, 197 | rgb(4, 14, 197) |
RGB Percent | 1.57, 5.49, 77.25 | rgb(1.57, 5.49, 77.25) |
CMYK | 98, 93, 0, 23 | |
HSL | 236.9°, 96.02, 39.4 | hsl(236.9, 96.02%, 39.4%) |
HSV | 236.9°, 98, 77.3 |
XYZ | 10.285, 4.371, 53.125 |
---|---|
Hunter Lab | 20.907, 51.225, -136.022 |
CIE-LAB | 24.862, 62.135, -86.999 |
CIE-LCH | 24.862, 106.909, 305.535 |
CIE-LUV | 97.97, 92.89, 0, 22.75 |
Web Safe | 0000cc |
RGB percent of color #040ec5
CMYK percent of color #040ec5
Text with hexadecimal color #040ec5
This text has a font color of #040ec5
<p style="color:#040ec5">Text here</p>
#040ec5 Background Color
This box has a background color of #040ec5
<div style="background-color:#040ec5">Text here</div>
#040ec5 Border Color
This box has a border color of #040ec5
<div style="border: 4px solid #040ec5">Text here</div>
CSS codes
<p style="color:#040ec5">Text here</p>
<div style="background-color:#040ec5">Text here</div>
<div style="border: 4px solid #040ec5">Text here</div>
#040ec5 Color on white background
This is how a font and box color of #040ec5 will look
on a white background.
#040ec5 Color on black background
This is how a font and box color of #040ec5 hex color will look
on a black background.