In RGB color space, #040cfc hex color has a red value of 4, a green value of 12 and a blue value of 252.
In CMYK color space (used in color printing), #040cfc hex color is composed of 98.41% cyan, 95.24% magenta, 0% yellow and 1.18% black.
#040cfc color has a hue of 238.1 degrees, a saturation of 97.64% and a lightness of 50.2%.
#040cfc hex color contains mainly BLUE.
The closest web safe color of #040cfc is #0000ff
#040cfc hex color has a decimal value of 265468.
HEX | 040cfc | #040cfc |
---|---|---|
RGB | 4, 12, 252 | rgb(4, 12, 252) |
RGB Percent | 1.57, 4.71, 98.82 | rgb(1.57, 4.71, 98.82) |
CMYK | 98, 95, 0, 1 | |
HSL | 238.1°, 97.64, 50.2 | hsl(238.1, 97.64%, 50.2%) |
HSV | 238.1°, 98.4, 98.8 |
XYZ | 17.752, 7.317, 92.572 |
---|---|
Hunter Lab | 27.05, 69.806, -183.971 |
CIE-LAB | 32.518, 76.678, -105.817 |
CIE-LCH | 32.518, 130.678, 305.928 |
CIE-LUV | 98.41, 95.24, 0, 1.18 |
Web Safe | 0000ff |
RGB percent of color #040cfc
CMYK percent of color #040cfc
Text with hexadecimal color #040cfc
This text has a font color of #040cfc
<p style="color:#040cfc">Text here</p>
#040cfc Background Color
This box has a background color of #040cfc
<div style="background-color:#040cfc">Text here</div>
#040cfc Border Color
This box has a border color of #040cfc
<div style="border: 4px solid #040cfc">Text here</div>
CSS codes
<p style="color:#040cfc">Text here</p>
<div style="background-color:#040cfc">Text here</div>
<div style="border: 4px solid #040cfc">Text here</div>
#040cfc Color on white background
This is how a font and box color of #040cfc will look
on a white background.
#040cfc Color on black background
This is how a font and box color of #040cfc hex color will look
on a black background.