In RGB color space, #0040cc hex color has a red value of 0, a green value of 64 and a blue value of 204.
In CMYK color space (used in color printing), #0040cc hex color is composed of 100% cyan, 68.63% magenta, 0% yellow and 20% black.
#0040cc color has a hue of 221.2 degrees, a saturation of 100% and a lightness of 40%.
#0040cc hex color contains mainly BLUE.
The closest web safe color of #0040cc is #0033cc
#0040cc hex color has a decimal value of 16588.
HEX | 0040cc | #0040cc |
---|---|---|
RGB | 0, 64, 204 | rgb(0, 64, 204) |
RGB Percent | 0, 25.1, 80 | rgb(0, 25.1, 80) |
CMYK | 100, 69, 0, 20 | |
HSL | 221.2°, 100, 40 | hsl(221.2, 100%, 40%) |
HSV | 221.2°, 100, 80 |
XYZ | 12.732, 8.026, 58.005 |
---|---|
Hunter Lab | 28.33, 30.643, -101.563 |
CIE-LAB | 34.037, 40.156, -75.86 |
CIE-LCH | 34.037, 85.833, 297.894 |
CIE-LUV | 100, 68.63, 0, 20 |
Web Safe | 0033cc |
RGB percent of color #0040cc
CMYK percent of color #0040cc
Text with hexadecimal color #0040cc
This text has a font color of #0040cc
<p style="color:#0040cc">Text here</p>
#0040cc Background Color
This box has a background color of #0040cc
<div style="background-color:#0040cc">Text here</div>
#0040cc Border Color
This box has a border color of #0040cc
<div style="border: 4px solid #0040cc">Text here</div>
CSS codes
<p style="color:#0040cc">Text here</p>
<div style="background-color:#0040cc">Text here</div>
<div style="border: 4px solid #0040cc">Text here</div>
#0040cc Color on white background
This is how a font and box color of #0040cc will look
on a white background.
#0040cc Color on black background
This is how a font and box color of #0040cc hex color will look
on a black background.