In RGB color space, #040ec9 hex color has a red value of 4, a green value of 14 and a blue value of 201.
In CMYK color space (used in color printing), #040ec9 hex color is composed of 98.01% cyan, 93.03% magenta, 0% yellow and 21.18% black.
#040ec9 color has a hue of 237 degrees, a saturation of 96.1% and a lightness of 40.2%.
#040ec9 hex color contains mainly BLUE.
The closest web safe color of #040ec9 is #0000cc
#040ec9 hex color has a decimal value of 265929.
HEX | 040ec9 | #040ec9 |
---|---|---|
RGB | 4, 14, 201 | rgb(4, 14, 201) |
RGB Percent | 1.57, 5.49, 78.82 | rgb(1.57, 5.49, 78.82) |
CMYK | 98, 93, 0, 21 | |
HSL | 237°, 96.1, 40.2 | hsl(237, 96.1%, 40.2%) |
HSV | 237°, 98, 78.8 |
XYZ | 10.75, 4.557, 55.571 |
---|---|
Hunter Lab | 21.347, 52.532, -139.401 |
CIE-LAB | 25.433, 63.21, -88.393 |
CIE-LCH | 25.433, 108.668, 305.569 |
CIE-LUV | 98.01, 93.03, 0, 21.18 |
Web Safe | 0000cc |
RGB percent of color #040ec9
CMYK percent of color #040ec9
Text with hexadecimal color #040ec9
This text has a font color of #040ec9
<p style="color:#040ec9">Text here</p>
#040ec9 Background Color
This box has a background color of #040ec9
<div style="background-color:#040ec9">Text here</div>
#040ec9 Border Color
This box has a border color of #040ec9
<div style="border: 4px solid #040ec9">Text here</div>
CSS codes
<p style="color:#040ec9">Text here</p>
<div style="background-color:#040ec9">Text here</div>
<div style="border: 4px solid #040ec9">Text here</div>
#040ec9 Color on white background
This is how a font and box color of #040ec9 will look
on a white background.
#040ec9 Color on black background
This is how a font and box color of #040ec9 hex color will look
on a black background.