In RGB color space, #0240c4 hex color has a red value of 2, a green value of 64 and a blue value of 196.
In CMYK color space (used in color printing), #0240c4 hex color is composed of 98.98% cyan, 67.35% magenta, 0% yellow and 23.14% black.
#0240c4 color has a hue of 220.8 degrees, a saturation of 97.98% and a lightness of 38.8%.
#0240c4 hex color contains mainly BLUE.
The closest web safe color of #0240c4 is #0033cc
#0240c4 hex color has a decimal value of 147652.
HEX | 0240c4 | #0240c4 |
---|---|---|
RGB | 2, 64, 196 | rgb(2, 64, 196) |
RGB Percent | 0.78, 25.1, 76.86 | rgb(0.78, 25.1, 76.86) |
CMYK | 99, 67, 0, 23 | |
HSL | 220.8°, 97.98, 38.8 | hsl(220.8, 97.98%, 38.8%) |
HSV | 220.8°, 99, 76.9 |
XYZ | 11.822, 7.665, 53.081 |
---|---|
Hunter Lab | 27.686, 27.771, -94.295 |
CIE-LAB | 33.275, 37.193, -72.449 |
CIE-LCH | 33.275, 81.438, 297.175 |
CIE-LUV | 98.98, 67.35, 0, 23.14 |
Web Safe | 0033cc |
RGB percent of color #0240c4
CMYK percent of color #0240c4
Text with hexadecimal color #0240c4
This text has a font color of #0240c4
<p style="color:#0240c4">Text here</p>
#0240c4 Background Color
This box has a background color of #0240c4
<div style="background-color:#0240c4">Text here</div>
#0240c4 Border Color
This box has a border color of #0240c4
<div style="border: 4px solid #0240c4">Text here</div>
CSS codes
<p style="color:#0240c4">Text here</p>
<div style="background-color:#0240c4">Text here</div>
<div style="border: 4px solid #0240c4">Text here</div>
#0240c4 Color on white background
This is how a font and box color of #0240c4 will look
on a white background.
#0240c4 Color on black background
This is how a font and box color of #0240c4 hex color will look
on a black background.