In RGB color space, #040cf2 hex color has a red value of 4, a green value of 12 and a blue value of 242.
In CMYK color space (used in color printing), #040cf2 hex color is composed of 98.35% cyan, 95.04% magenta, 0% yellow and 5.1% black.
#040cf2 color has a hue of 238 degrees, a saturation of 96.75% and a lightness of 48.2%.
#040cf2 hex color contains mainly BLUE.
The closest web safe color of #040cf2 is #0000ff
#040cf2 hex color has a decimal value of 265458.
HEX | 040cf2 | #040cf2 |
---|---|---|
RGB | 4, 12, 242 | rgb(4, 12, 242) |
RGB Percent | 1.57, 4.71, 94.9 | rgb(1.57, 4.71, 94.9) |
CMYK | 98, 95, 0, 5 | |
HSL | 238°, 96.75, 48.2 | hsl(238, 96.75%, 48.2%) |
HSV | 238°, 98.3, 94.9 |
XYZ | 16.209, 6.7, 84.443 |
---|---|
Hunter Lab | 25.884, 66.481, -175.304 |
CIE-LAB | 31.114, 74.197, -102.521 |
CIE-LCH | 31.114, 126.553, 305.894 |
CIE-LUV | 98.35, 95.04, 0, 5.1 |
Web Safe | 0000ff |
RGB percent of color #040cf2
CMYK percent of color #040cf2
Text with hexadecimal color #040cf2
This text has a font color of #040cf2
<p style="color:#040cf2">Text here</p>
#040cf2 Background Color
This box has a background color of #040cf2
<div style="background-color:#040cf2">Text here</div>
#040cf2 Border Color
This box has a border color of #040cf2
<div style="border: 4px solid #040cf2">Text here</div>
CSS codes
<p style="color:#040cf2">Text here</p>
<div style="background-color:#040cf2">Text here</div>
<div style="border: 4px solid #040cf2">Text here</div>
#040cf2 Color on white background
This is how a font and box color of #040cf2 will look
on a white background.
#040cf2 Color on black background
This is how a font and box color of #040cf2 hex color will look
on a black background.