In RGB color space, #0240a2 hex color has a red value of 2, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #0240a2 hex color is composed of 98.77% cyan, 60.49% magenta, 0% yellow and 36.47% black.
#0240a2 color has a hue of 216.8 degrees, a saturation of 97.56% and a lightness of 32.2%.
#0240a2 hex color contains mainly BLUE.
The closest web safe color of #0240a2 is #003399
#0240a2 hex color has a decimal value of 147618.
HEX | 0240a2 | #0240a2 |
---|---|---|
RGB | 2, 64, 162 | rgb(2, 64, 162) |
RGB Percent | 0.78, 25.1, 63.53 | rgb(0.78, 25.1, 63.53) |
CMYK | 99, 60, 0, 36 | |
HSL | 216.8°, 97.56, 32.2 | hsl(216.8, 97.56%, 32.2%) |
HSV | 216.8°, 98.8, 63.5 |
XYZ | 8.38, 6.288, 34.955 |
---|---|
Hunter Lab | 25.076, 15.769, -65.095 |
CIE-LAB | 30.128, 23.712, -57.414 |
CIE-LCH | 30.128, 62.118, 292.441 |
CIE-LUV | 98.77, 60.49, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #0240a2
CMYK percent of color #0240a2
Text with hexadecimal color #0240a2
This text has a font color of #0240a2
<p style="color:#0240a2">Text here</p>
#0240a2 Background Color
This box has a background color of #0240a2
<div style="background-color:#0240a2">Text here</div>
#0240a2 Border Color
This box has a border color of #0240a2
<div style="border: 4px solid #0240a2">Text here</div>
CSS codes
<p style="color:#0240a2">Text here</p>
<div style="background-color:#0240a2">Text here</div>
<div style="border: 4px solid #0240a2">Text here</div>
#0240a2 Color on white background
This is how a font and box color of #0240a2 will look
on a white background.
#0240a2 Color on black background
This is how a font and box color of #0240a2 hex color will look
on a black background.