In RGB color space, #040ecc hex color has a red value of 4, a green value of 14 and a blue value of 204.
In CMYK color space (used in color printing), #040ecc hex color is composed of 98.04% cyan, 93.14% magenta, 0% yellow and 20% black.
#040ecc color has a hue of 237 degrees, a saturation of 96.15% and a lightness of 40.8%.
#040ecc hex color contains mainly BLUE.
The closest web safe color of #040ecc is #0000cc
#040ecc hex color has a decimal value of 265932.
HEX | 040ecc | #040ecc |
---|---|---|
RGB | 4, 14, 204 | rgb(4, 14, 204) |
RGB Percent | 1.57, 5.49, 80 | rgb(1.57, 5.49, 80) |
CMYK | 98, 93, 0, 20 | |
HSL | 237°, 96.15, 40.8 | hsl(237, 96.15%, 40.8%) |
HSV | 237°, 98, 80 |
XYZ | 11.106, 4.7, 57.448 |
---|---|
Hunter Lab | 21.679, 53.503, -141.936 |
CIE-LAB | 25.862, 64.001, -89.433 |
CIE-LCH | 25.862, 109.974, 305.589 |
CIE-LUV | 98.04, 93.14, 0, 20 |
Web Safe | 0000cc |
RGB percent of color #040ecc
CMYK percent of color #040ecc
Text with hexadecimal color #040ecc
This text has a font color of #040ecc
<p style="color:#040ecc">Text here</p>
#040ecc Background Color
This box has a background color of #040ecc
<div style="background-color:#040ecc">Text here</div>
#040ecc Border Color
This box has a border color of #040ecc
<div style="border: 4px solid #040ecc">Text here</div>
CSS codes
<p style="color:#040ecc">Text here</p>
<div style="background-color:#040ecc">Text here</div>
<div style="border: 4px solid #040ecc">Text here</div>
#040ecc Color on white background
This is how a font and box color of #040ecc will look
on a white background.
#040ecc Color on black background
This is how a font and box color of #040ecc hex color will look
on a black background.