In RGB color space, #040cef hex color has a red value of 4, a green value of 12 and a blue value of 239.
In CMYK color space (used in color printing), #040cef hex color is composed of 98.33% cyan, 94.98% magenta, 0% yellow and 6.27% black.
#040cef color has a hue of 238 degrees, a saturation of 96.71% and a lightness of 47.6%.
#040cef hex color contains mainly BLUE.
The closest web safe color of #040cef is #0000ff
#040cef hex color has a decimal value of 265455.
HEX | 040cef | #040cef |
---|---|---|
RGB | 4, 12, 239 | rgb(4, 12, 239) |
RGB Percent | 1.57, 4.71, 93.73 | rgb(1.57, 4.71, 93.73) |
CMYK | 98, 95, 0, 6 | |
HSL | 238°, 96.71, 47.6 | hsl(238, 96.71%, 47.6%) |
HSV | 238°, 98.3, 93.7 |
XYZ | 15.762, 6.521, 82.089 |
---|---|
Hunter Lab | 25.536, 65.489, -172.719 |
CIE-LAB | 30.691, 73.449, -101.527 |
CIE-LCH | 30.691, 125.31, 305.884 |
CIE-LUV | 98.33, 94.98, 0, 6.27 |
Web Safe | 0000ff |
RGB percent of color #040cef
CMYK percent of color #040cef
Text with hexadecimal color #040cef
This text has a font color of #040cef
<p style="color:#040cef">Text here</p>
#040cef Background Color
This box has a background color of #040cef
<div style="background-color:#040cef">Text here</div>
#040cef Border Color
This box has a border color of #040cef
<div style="border: 4px solid #040cef">Text here</div>
CSS codes
<p style="color:#040cef">Text here</p>
<div style="background-color:#040cef">Text here</div>
<div style="border: 4px solid #040cef">Text here</div>
#040cef Color on white background
This is how a font and box color of #040cef will look
on a white background.
#040cef Color on black background
This is how a font and box color of #040cef hex color will look
on a black background.