In RGB color space, #c842e6 hex color has a red value of 200, a green value of 66 and a blue value of 230.
In CMYK color space (used in color printing), #c842e6 hex color is composed of 13.04% cyan, 71.3% magenta, 0% yellow and 9.8% black.
#c842e6 color has a hue of 289 degrees, a saturation of 76.64% and a lightness of 58%.
#c842e6 hex color contains mainly BLUE.
The closest web safe color of #c842e6 is #cc33ff
#c842e6 hex color has a decimal value of 13124326.
HEX | c842e6 | #c842e6 |
---|---|---|
RGB | 200, 66, 230 | rgb(200, 66, 230) |
RGB Percent | 78.43, 25.88, 90.2 | rgb(78.43, 25.88, 90.2) |
CMYK | 13, 71, 0, 10 | |
HSL | 289°, 76.64, 58 | hsl(289, 76.64%, 58%) |
HSV | 289°, 71.3, 90.2 |
XYZ | 40.051, 21.889, 76.977 |
---|---|
Hunter Lab | 46.786, 70.93, -64.801 |
CIE-LAB | 53.909, 73.522, -57.635 |
CIE-LCH | 53.909, 93.42, 321.907 |
CIE-LUV | 13.04, 71.3, 0, 9.8 |
Web Safe | cc33ff |
RGB percent of color #c842e6
CMYK percent of color #c842e6
Text with hexadecimal color #c842e6
This text has a font color of #c842e6
<p style="color:#c842e6">Text here</p>
#c842e6 Background Color
This box has a background color of #c842e6
<div style="background-color:#c842e6">Text here</div>
#c842e6 Border Color
This box has a border color of #c842e6
<div style="border: 4px solid #c842e6">Text here</div>
CSS codes
<p style="color:#c842e6">Text here</p>
<div style="background-color:#c842e6">Text here</div>
<div style="border: 4px solid #c842e6">Text here</div>
#c842e6 Color on white background
This is how a font and box color of #c842e6 will look
on a white background.
#c842e6 Color on black background
This is how a font and box color of #c842e6 hex color will look
on a black background.