In RGB color space, #1240a2 hex color has a red value of 18, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #1240a2 hex color is composed of 88.89% cyan, 60.49% magenta, 0% yellow and 36.47% black.
#1240a2 color has a hue of 220.8 degrees, a saturation of 80% and a lightness of 35.3%.
#1240a2 hex color contains mainly BLUE.
The closest web safe color of #1240a2 is #003399
#1240a2 hex color has a decimal value of 1196194.
HEX | 1240a2 | #1240a2 |
---|---|---|
RGB | 18, 64, 162 | rgb(18, 64, 162) |
RGB Percent | 7.06, 25.1, 63.53 | rgb(7.06, 25.1, 63.53) |
CMYK | 89, 60, 0, 36 | |
HSL | 220.8°, 80, 35.3 | hsl(220.8, 80%, 35.3%) |
HSV | 220.8°, 88.9, 63.5 |
XYZ | 8.604, 6.404, 34.965 |
---|---|
Hunter Lab | 25.306, 16.404, -64.206 |
CIE-LAB | 30.41, 24.462, -56.941 |
CIE-LCH | 30.41, 61.973, 293.248 |
CIE-LUV | 88.89, 60.49, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #1240a2
CMYK percent of color #1240a2
Text with hexadecimal color #1240a2
This text has a font color of #1240a2
<p style="color:#1240a2">Text here</p>
#1240a2 Background Color
This box has a background color of #1240a2
<div style="background-color:#1240a2">Text here</div>
#1240a2 Border Color
This box has a border color of #1240a2
<div style="border: 4px solid #1240a2">Text here</div>
CSS codes
<p style="color:#1240a2">Text here</p>
<div style="background-color:#1240a2">Text here</div>
<div style="border: 4px solid #1240a2">Text here</div>
#1240a2 Color on white background
This is how a font and box color of #1240a2 will look
on a white background.
#1240a2 Color on black background
This is how a font and box color of #1240a2 hex color will look
on a black background.