In RGB color space, #0040f2 hex color has a red value of 0, a green value of 64 and a blue value of 242.
In CMYK color space (used in color printing), #0040f2 hex color is composed of 100% cyan, 73.55% magenta, 0% yellow and 5.1% black.
#0040f2 color has a hue of 224.1 degrees, a saturation of 100% and a lightness of 47.5%.
#0040f2 hex color contains mainly BLUE.
The closest web safe color of #0040f2 is #0033ff
#0040f2 hex color has a decimal value of 16626.
HEX | 0040f2 | #0040f2 |
---|---|---|
RGB | 0, 64, 242 | rgb(0, 64, 242) |
RGB Percent | 0, 25.1, 94.9 | rgb(0, 25.1, 94.9) |
CMYK | 100, 74, 0, 5 | |
HSL | 224.1°, 100, 47.5 | hsl(224.1, 100%, 47.5%) |
HSV | 224.1°, 100, 94.9 |
XYZ | 17.86, 10.078, 85.008 |
---|---|
Hunter Lab | 31.746, 44.868, -136.543 |
CIE-LAB | 37.982, 53.704, -91.088 |
CIE-LCH | 37.982, 105.741, 300.523 |
CIE-LUV | 100, 73.55, 0, 5.1 |
Web Safe | 0033ff |
RGB percent of color #0040f2
CMYK percent of color #0040f2
Text with hexadecimal color #0040f2
This text has a font color of #0040f2
<p style="color:#0040f2">Text here</p>
#0040f2 Background Color
This box has a background color of #0040f2
<div style="background-color:#0040f2">Text here</div>
#0040f2 Border Color
This box has a border color of #0040f2
<div style="border: 4px solid #0040f2">Text here</div>
CSS codes
<p style="color:#0040f2">Text here</p>
<div style="background-color:#0040f2">Text here</div>
<div style="border: 4px solid #0040f2">Text here</div>
#0040f2 Color on white background
This is how a font and box color of #0040f2 will look
on a white background.
#0040f2 Color on black background
This is how a font and box color of #0040f2 hex color will look
on a black background.