In RGB color space, #040fef hex color has a red value of 4, a green value of 15 and a blue value of 239.
In CMYK color space (used in color printing), #040fef hex color is composed of 98.33% cyan, 93.72% magenta, 0% yellow and 6.27% black.
#040fef color has a hue of 237.2 degrees, a saturation of 96.71% and a lightness of 47.6%.
#040fef hex color contains mainly BLUE.
The closest web safe color of #040fef is #0000ff
#040fef hex color has a decimal value of 266223.
HEX | 040fef | #040fef |
---|---|---|
RGB | 4, 15, 239 | rgb(4, 15, 239) |
RGB Percent | 1.57, 5.88, 93.73 | rgb(1.57, 5.88, 93.73) |
CMYK | 98, 94, 0, 6 | |
HSL | 237.2°, 96.71, 47.6 | hsl(237.2, 96.71%, 47.6%) |
HSV | 237.2°, 98.3, 93.7 |
XYZ | 15.801, 6.599, 82.102 |
---|---|
Hunter Lab | 25.689, 64.84, -171.512 |
CIE-LAB | 30.876, 72.876, -101.217 |
CIE-LCH | 30.876, 124.723, 305.754 |
CIE-LUV | 98.33, 93.72, 0, 6.27 |
Web Safe | 0000ff |
RGB percent of color #040fef
CMYK percent of color #040fef
Text with hexadecimal color #040fef
This text has a font color of #040fef
<p style="color:#040fef">Text here</p>
#040fef Background Color
This box has a background color of #040fef
<div style="background-color:#040fef">Text here</div>
#040fef Border Color
This box has a border color of #040fef
<div style="border: 4px solid #040fef">Text here</div>
CSS codes
<p style="color:#040fef">Text here</p>
<div style="background-color:#040fef">Text here</div>
<div style="border: 4px solid #040fef">Text here</div>
#040fef Color on white background
This is how a font and box color of #040fef will look
on a white background.
#040fef Color on black background
This is how a font and box color of #040fef hex color will look
on a black background.