In RGB color space, #2871cc hex color has a red value of 40, a green value of 113 and a blue value of 204.
In CMYK color space (used in color printing), #2871cc hex color is composed of 80.39% cyan, 44.61% magenta, 0% yellow and 20% black.
#2871cc color has a hue of 213.3 degrees, a saturation of 67.21% and a lightness of 47.8%.
#2871cc hex color contains mainly BLUE.
The closest web safe color of #2871cc is #3366cc
#2871cc hex color has a decimal value of 2650572.
HEX | 2871cc | #2871cc |
---|---|---|
RGB | 40, 113, 204 | rgb(40, 113, 204) |
RGB Percent | 15.69, 44.31, 80 | rgb(15.69, 44.31, 80) |
CMYK | 80, 45, 0, 20 | |
HSL | 213.3°, 67.21, 47.8 | hsl(213.3, 67.21%, 47.8%) |
HSV | 213.3°, 80.4, 80 |
XYZ | 17.679, 16.621, 59.403 |
---|---|
Hunter Lab | 40.769, 6.059, -57.851 |
CIE-LAB | 47.779, 10.506, -53.459 |
CIE-LCH | 47.779, 54.482, 281.118 |
CIE-LUV | 80.39, 44.61, 0, 20 |
Web Safe | 3366cc |
RGB percent of color #2871cc
CMYK percent of color #2871cc
Text with hexadecimal color #2871cc
This text has a font color of #2871cc
<p style="color:#2871cc">Text here</p>
#2871cc Background Color
This box has a background color of #2871cc
<div style="background-color:#2871cc">Text here</div>
#2871cc Border Color
This box has a border color of #2871cc
<div style="border: 4px solid #2871cc">Text here</div>
CSS codes
<p style="color:#2871cc">Text here</p>
<div style="background-color:#2871cc">Text here</div>
<div style="border: 4px solid #2871cc">Text here</div>
#2871cc Color on white background
This is how a font and box color of #2871cc will look
on a white background.
#2871cc Color on black background
This is how a font and box color of #2871cc hex color will look
on a black background.