In RGB color space, #2842a2 hex color has a red value of 40, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #2842a2 hex color is composed of 75.31% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#2842a2 color has a hue of 227.2 degrees, a saturation of 60.4% and a lightness of 39.6%.
#2842a2 hex color contains mainly BLUE.
The closest web safe color of #2842a2 is #333399
#2842a2 hex color has a decimal value of 2638498.
HEX | 2842a2 | #2842a2 |
---|---|---|
RGB | 40, 66, 162 | rgb(40, 66, 162) |
RGB Percent | 15.69, 25.88, 63.53 | rgb(15.69, 25.88, 63.53) |
CMYK | 75, 59, 0, 36 | |
HSL | 227.2°, 60.4, 39.6 | hsl(227.2, 60.4%, 39.6%) |
HSV | 227.2°, 75.3, 63.5 |
XYZ | 9.345, 6.956, 35.033 |
---|---|
Hunter Lab | 26.374, 17.092, -60.293 |
CIE-LAB | 31.707, 25.141, -54.794 |
CIE-LCH | 31.707, 60.286, 294.647 |
CIE-LUV | 75.31, 59.26, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #2842a2
CMYK percent of color #2842a2
Text with hexadecimal color #2842a2
This text has a font color of #2842a2
<p style="color:#2842a2">Text here</p>
#2842a2 Background Color
This box has a background color of #2842a2
<div style="background-color:#2842a2">Text here</div>
#2842a2 Border Color
This box has a border color of #2842a2
<div style="border: 4px solid #2842a2">Text here</div>
CSS codes
<p style="color:#2842a2">Text here</p>
<div style="background-color:#2842a2">Text here</div>
<div style="border: 4px solid #2842a2">Text here</div>
#2842a2 Color on white background
This is how a font and box color of #2842a2 will look
on a white background.
#2842a2 Color on black background
This is how a font and box color of #2842a2 hex color will look
on a black background.