In RGB color space, #040aec hex color has a red value of 4, a green value of 10 and a blue value of 236.
In CMYK color space (used in color printing), #040aec hex color is composed of 98.31% cyan, 95.76% magenta, 0% yellow and 7.45% black.
#040aec color has a hue of 238.4 degrees, a saturation of 96.67% and a lightness of 47.1%.
#040aec hex color contains mainly BLUE.
The closest web safe color of #040aec is #0000ff
#040aec hex color has a decimal value of 264940.
HEX | 040aec | #040aec |
---|---|---|
RGB | 4, 10, 236 | rgb(4, 10, 236) |
RGB Percent | 1.57, 3.92, 92.55 | rgb(1.57, 3.92, 92.55) |
CMYK | 98, 96, 0, 7 | |
HSL | 238.4°, 96.67, 47.1 | hsl(238.4, 96.67%, 47.1%) |
HSV | 238.4°, 98.3, 92.5 |
XYZ | 15.299, 6.299, 79.766 |
---|---|
Hunter Lab | 25.098, 64.888, -170.867 |
CIE-LAB | 30.155, 73.043, -100.718 |
CIE-LCH | 30.155, 124.416, 305.95 |
CIE-LUV | 98.31, 95.76, 0, 7.45 |
Web Safe | 0000ff |
RGB percent of color #040aec
CMYK percent of color #040aec
Text with hexadecimal color #040aec
This text has a font color of #040aec
<p style="color:#040aec">Text here</p>
#040aec Background Color
This box has a background color of #040aec
<div style="background-color:#040aec">Text here</div>
#040aec Border Color
This box has a border color of #040aec
<div style="border: 4px solid #040aec">Text here</div>
CSS codes
<p style="color:#040aec">Text here</p>
<div style="background-color:#040aec">Text here</div>
<div style="border: 4px solid #040aec">Text here</div>
#040aec Color on white background
This is how a font and box color of #040aec will look
on a white background.
#040aec Color on black background
This is how a font and box color of #040aec hex color will look
on a black background.