In RGB color space, #0040d6 hex color has a red value of 0, a green value of 64 and a blue value of 214.
In CMYK color space (used in color printing), #0040d6 hex color is composed of 100% cyan, 70.09% magenta, 0% yellow and 16.08% black.
#0040d6 color has a hue of 222.1 degrees, a saturation of 100% and a lightness of 42%.
#0040d6 hex color contains mainly BLUE.
The closest web safe color of #0040d6 is #0033cc
#0040d6 hex color has a decimal value of 16598.
HEX | 0040d6 | #0040d6 |
---|---|---|
RGB | 0, 64, 214 | rgb(0, 64, 214) |
RGB Percent | 0, 25.1, 83.92 | rgb(0, 25.1, 83.92) |
CMYK | 100, 70, 0, 16 | |
HSL | 222.1°, 100, 42 | hsl(222.1, 100%, 42%) |
HSV | 222.1°, 100, 83.9 |
XYZ | 13.971, 8.522, 64.527 |
---|---|
Hunter Lab | 29.192, 34.34, -110.62 |
CIE-LAB | 35.047, 43.845, -79.98 |
CIE-LCH | 35.047, 91.21, 298.732 |
CIE-LUV | 100, 70.09, 0, 16.08 |
Web Safe | 0033cc |
RGB percent of color #0040d6
CMYK percent of color #0040d6
Text with hexadecimal color #0040d6
This text has a font color of #0040d6
<p style="color:#0040d6">Text here</p>
#0040d6 Background Color
This box has a background color of #0040d6
<div style="background-color:#0040d6">Text here</div>
#0040d6 Border Color
This box has a border color of #0040d6
<div style="border: 4px solid #0040d6">Text here</div>
CSS codes
<p style="color:#0040d6">Text here</p>
<div style="background-color:#0040d6">Text here</div>
<div style="border: 4px solid #0040d6">Text here</div>
#0040d6 Color on white background
This is how a font and box color of #0040d6 will look
on a white background.
#0040d6 Color on black background
This is how a font and box color of #0040d6 hex color will look
on a black background.