In RGB color space, #c040a6 hex color has a red value of 192, a green value of 64 and a blue value of 166.
In CMYK color space (used in color printing), #c040a6 hex color is composed of 0% cyan, 66.67% magenta, 13.54% yellow and 24.71% black.
#c040a6 color has a hue of 312.2 degrees, a saturation of 50.39% and a lightness of 50.2%.
#c040a6 hex color contains mainly RED.
The closest web safe color of #c040a6 is #cc3399
#c040a6 hex color has a decimal value of 12599462.
HEX | c040a6 | #c040a6 |
---|---|---|
RGB | 192, 64, 166 | rgb(192, 64, 166) |
RGB Percent | 75.29, 25.1, 65.1 | rgb(75.29, 25.1, 65.1) |
CMYK | 0, 67, 14, 25 | |
HSL | 312.2°, 50.39, 50.2 | hsl(312.2, 50.39%, 50.2%) |
HSV | 312.2°, 66.7, 75.3 |
XYZ | 30.455, 17.626, 37.874 |
---|---|
Hunter Lab | 41.983, 56.014, -24.098 |
CIE-LAB | 49.039, 61.803, -28.519 |
CIE-LCH | 49.039, 68.066, 335.229 |
CIE-LUV | 0, 66.67, 13.54, 24.71 |
Web Safe | cc3399 |
RGB percent of color #c040a6
CMYK percent of color #c040a6
Text with hexadecimal color #c040a6
This text has a font color of #c040a6
<p style="color:#c040a6">Text here</p>
#c040a6 Background Color
This box has a background color of #c040a6
<div style="background-color:#c040a6">Text here</div>
#c040a6 Border Color
This box has a border color of #c040a6
<div style="border: 4px solid #c040a6">Text here</div>
CSS codes
<p style="color:#c040a6">Text here</p>
<div style="background-color:#c040a6">Text here</div>
<div style="border: 4px solid #c040a6">Text here</div>
#c040a6 Color on white background
This is how a font and box color of #c040a6 will look
on a white background.
#c040a6 Color on black background
This is how a font and box color of #c040a6 hex color will look
on a black background.