In RGB color space, #2842b2 hex color has a red value of 40, a green value of 66 and a blue value of 178.
In CMYK color space (used in color printing), #2842b2 hex color is composed of 77.53% cyan, 62.92% magenta, 0% yellow and 30.2% black.
#2842b2 color has a hue of 228.7 degrees, a saturation of 63.3% and a lightness of 42.7%.
#2842b2 hex color contains mainly BLUE.
The closest web safe color of #2842b2 is #333399
#2842b2 hex color has a decimal value of 2638514.
HEX | 2842b2 | #2842b2 |
---|---|---|
RGB | 40, 66, 178 | rgb(40, 66, 178) |
RGB Percent | 15.69, 25.88, 69.8 | rgb(15.69, 25.88, 69.8) |
CMYK | 78, 63, 0, 30 | |
HSL | 228.7°, 63.3, 42.7 | hsl(228.7, 63.3%, 42.7%) |
HSV | 228.7°, 77.5, 69.8 |
XYZ | 10.859, 7.562, 43.007 |
---|---|
Hunter Lab | 27.499, 22.364, -73.477 |
CIE-LAB | 33.054, 31.179, -62.168 |
CIE-LCH | 33.054, 69.548, 296.635 |
CIE-LUV | 77.53, 62.92, 0, 30.2 |
Web Safe | 333399 |
RGB percent of color #2842b2
CMYK percent of color #2842b2
Text with hexadecimal color #2842b2
This text has a font color of #2842b2
<p style="color:#2842b2">Text here</p>
#2842b2 Background Color
This box has a background color of #2842b2
<div style="background-color:#2842b2">Text here</div>
#2842b2 Border Color
This box has a border color of #2842b2
<div style="border: 4px solid #2842b2">Text here</div>
CSS codes
<p style="color:#2842b2">Text here</p>
<div style="background-color:#2842b2">Text here</div>
<div style="border: 4px solid #2842b2">Text here</div>
#2842b2 Color on white background
This is how a font and box color of #2842b2 will look
on a white background.
#2842b2 Color on black background
This is how a font and box color of #2842b2 hex color will look
on a black background.