In RGB color space, #c842a6 hex color has a red value of 200, a green value of 66 and a blue value of 166.
In CMYK color space (used in color printing), #c842a6 hex color is composed of 0% cyan, 67% magenta, 17% yellow and 21.57% black.
#c842a6 color has a hue of 315.2 degrees, a saturation of 54.92% and a lightness of 52.2%.
#c842a6 hex color contains mainly RED.
The closest web safe color of #c842a6 is #cc3399
#c842a6 hex color has a decimal value of 13124262.
HEX | c842a6 | #c842a6 |
---|---|---|
RGB | 200, 66, 166 | rgb(200, 66, 166) |
RGB Percent | 78.43, 25.88, 65.1 | rgb(78.43, 25.88, 65.1) |
CMYK | 0, 67, 17, 22 | |
HSL | 315.2°, 54.92, 52.2 | hsl(315.2, 54.92%, 52.2%) |
HSV | 315.2°, 67, 78.4 |
XYZ | 32.651, 18.929, 38.009 |
---|---|
Hunter Lab | 43.507, 57.821, -21.342 |
CIE-LAB | 50.604, 63.092, -25.988 |
CIE-LCH | 50.604, 68.235, 337.613 |
CIE-LUV | 0, 67, 17, 21.57 |
Web Safe | cc3399 |
RGB percent of color #c842a6
CMYK percent of color #c842a6
Text with hexadecimal color #c842a6
This text has a font color of #c842a6
<p style="color:#c842a6">Text here</p>
#c842a6 Background Color
This box has a background color of #c842a6
<div style="background-color:#c842a6">Text here</div>
#c842a6 Border Color
This box has a border color of #c842a6
<div style="border: 4px solid #c842a6">Text here</div>
CSS codes
<p style="color:#c842a6">Text here</p>
<div style="background-color:#c842a6">Text here</div>
<div style="border: 4px solid #c842a6">Text here</div>
#c842a6 Color on white background
This is how a font and box color of #c842a6 will look
on a white background.
#c842a6 Color on black background
This is how a font and box color of #c842a6 hex color will look
on a black background.