In RGB color space, #2870a2 hex color has a red value of 40, a green value of 112 and a blue value of 162.
In CMYK color space (used in color printing), #2870a2 hex color is composed of 75.31% cyan, 30.86% magenta, 0% yellow and 36.47% black.
#2870a2 color has a hue of 204.6 degrees, a saturation of 60.4% and a lightness of 39.6%.
#2870a2 hex color contains mainly BLUE.
The closest web safe color of #2870a2 is #336699
#2870a2 hex color has a decimal value of 2650274.
HEX | 2870a2 | #2870a2 |
---|---|---|
RGB | 40, 112, 162 | rgb(40, 112, 162) |
RGB Percent | 15.69, 43.92, 63.53 | rgb(15.69, 43.92, 63.53) |
CMYK | 75, 31, 0, 36 | |
HSL | 204.6°, 60.4, 39.6 | hsl(204.6, 60.4%, 39.6%) |
HSV | 204.6°, 75.3, 63.5 |
XYZ | 13.191, 14.648, 36.315 |
---|---|
Hunter Lab | 38.273, -5.456, -29.466 |
CIE-LAB | 45.148, -4.699, -33.271 |
CIE-LCH | 45.148, 33.601, 261.961 |
CIE-LUV | 75.31, 30.86, 0, 36.47 |
Web Safe | 336699 |
RGB percent of color #2870a2
CMYK percent of color #2870a2
Text with hexadecimal color #2870a2
This text has a font color of #2870a2
<p style="color:#2870a2">Text here</p>
#2870a2 Background Color
This box has a background color of #2870a2
<div style="background-color:#2870a2">Text here</div>
#2870a2 Border Color
This box has a border color of #2870a2
<div style="border: 4px solid #2870a2">Text here</div>
CSS codes
<p style="color:#2870a2">Text here</p>
<div style="background-color:#2870a2">Text here</div>
<div style="border: 4px solid #2870a2">Text here</div>
#2870a2 Color on white background
This is how a font and box color of #2870a2 will look
on a white background.
#2870a2 Color on black background
This is how a font and box color of #2870a2 hex color will look
on a black background.