In RGB color space, #0040f8 hex color has a red value of 0, a green value of 64 and a blue value of 248.
In CMYK color space (used in color printing), #0040f8 hex color is composed of 100% cyan, 74.19% magenta, 0% yellow and 2.75% black.
#0040f8 color has a hue of 224.5 degrees, a saturation of 100% and a lightness of 48.6%.
#0040f8 hex color contains mainly BLUE.
The closest web safe color of #0040f8 is #0033ff
#0040f8 hex color has a decimal value of 16632.
HEX | 0040f8 | #0040f8 |
---|---|---|
RGB | 0, 64, 248 | rgb(0, 64, 248) |
RGB Percent | 0, 25.1, 97.25 | rgb(0, 25.1, 97.25) |
CMYK | 100, 74, 0, 3 | |
HSL | 224.5°, 100, 48.6 | hsl(224.5, 100%, 48.6%) |
HSV | 224.5°, 100, 97.3 |
XYZ | 18.777, 10.444, 89.833 |
---|---|
Hunter Lab | 32.317, 47.157, -142.188 |
CIE-LAB | 38.628, 55.741, -93.395 |
CIE-LCH | 38.628, 108.764, 300.83 |
CIE-LUV | 100, 74.19, 0, 2.75 |
Web Safe | 0033ff |
RGB percent of color #0040f8
CMYK percent of color #0040f8
Text with hexadecimal color #0040f8
This text has a font color of #0040f8
<p style="color:#0040f8">Text here</p>
#0040f8 Background Color
This box has a background color of #0040f8
<div style="background-color:#0040f8">Text here</div>
#0040f8 Border Color
This box has a border color of #0040f8
<div style="border: 4px solid #0040f8">Text here</div>
CSS codes
<p style="color:#0040f8">Text here</p>
<div style="background-color:#0040f8">Text here</div>
<div style="border: 4px solid #0040f8">Text here</div>
#0040f8 Color on white background
This is how a font and box color of #0040f8 will look
on a white background.
#0040f8 Color on black background
This is how a font and box color of #0040f8 hex color will look
on a black background.