In RGB color space, #0040c0 hex color has a red value of 0, a green value of 64 and a blue value of 192.
In CMYK color space (used in color printing), #0040c0 hex color is composed of 100% cyan, 66.67% magenta, 0% yellow and 24.71% black.
#0040c0 color has a hue of 220 degrees, a saturation of 100% and a lightness of 37.6%.
#0040c0 hex color contains mainly BLUE.
The closest web safe color of #0040c0 is #0033cc
#0040c0 hex color has a decimal value of 16576.
HEX | 0040c0 | #0040c0 |
---|---|---|
RGB | 0, 64, 192 | rgb(0, 64, 192) |
RGB Percent | 0, 25.1, 75.29 | rgb(0, 25.1, 75.29) |
CMYK | 100, 67, 0, 25 | |
HSL | 220°, 100, 37.6 | hsl(220, 100%, 37.6%) |
HSV | 220°, 100, 75.3 |
XYZ | 11.348, 7.473, 50.713 |
---|---|
Hunter Lab | 27.337, 26.259, -90.854 |
CIE-LAB | 32.86, 35.6, -70.788 |
CIE-LCH | 32.86, 79.236, 296.698 |
CIE-LUV | 100, 66.67, 0, 24.71 |
Web Safe | 0033cc |
RGB percent of color #0040c0
CMYK percent of color #0040c0
Text with hexadecimal color #0040c0
This text has a font color of #0040c0
<p style="color:#0040c0">Text here</p>
#0040c0 Background Color
This box has a background color of #0040c0
<div style="background-color:#0040c0">Text here</div>
#0040c0 Border Color
This box has a border color of #0040c0
<div style="border: 4px solid #0040c0">Text here</div>
CSS codes
<p style="color:#0040c0">Text here</p>
<div style="background-color:#0040c0">Text here</div>
<div style="border: 4px solid #0040c0">Text here</div>
#0040c0 Color on white background
This is how a font and box color of #0040c0 will look
on a white background.
#0040c0 Color on black background
This is how a font and box color of #0040c0 hex color will look
on a black background.