In RGB color space, #c540a6 hex color has a red value of 197, a green value of 64 and a blue value of 166.
In CMYK color space (used in color printing), #c540a6 hex color is composed of 0% cyan, 67.51% magenta, 15.74% yellow and 22.75% black.
#c540a6 color has a hue of 314 degrees, a saturation of 53.41% and a lightness of 51.2%.
#c540a6 hex color contains mainly RED.
The closest web safe color of #c540a6 is #cc3399
#c540a6 hex color has a decimal value of 12927142.
HEX | c540a6 | #c540a6 |
---|---|---|
RGB | 197, 64, 166 | rgb(197, 64, 166) |
RGB Percent | 77.25, 25.1, 65.1 | rgb(77.25, 25.1, 65.1) |
CMYK | 0, 68, 16, 23 | |
HSL | 314°, 53.41, 51.2 | hsl(314, 53.41%, 51.2%) |
HSV | 314°, 67.5, 77.3 |
XYZ | 31.742, 18.29, 37.934 |
---|---|
Hunter Lab | 42.767, 57.643, -22.653 |
CIE-LAB | 49.846, 63.079, -27.202 |
CIE-LCH | 49.846, 68.694, 336.673 |
CIE-LUV | 0, 67.51, 15.74, 22.75 |
Web Safe | cc3399 |
RGB percent of color #c540a6
CMYK percent of color #c540a6
Text with hexadecimal color #c540a6
This text has a font color of #c540a6
<p style="color:#c540a6">Text here</p>
#c540a6 Background Color
This box has a background color of #c540a6
<div style="background-color:#c540a6">Text here</div>
#c540a6 Border Color
This box has a border color of #c540a6
<div style="border: 4px solid #c540a6">Text here</div>
CSS codes
<p style="color:#c540a6">Text here</p>
<div style="background-color:#c540a6">Text here</div>
<div style="border: 4px solid #c540a6">Text here</div>
#c540a6 Color on white background
This is how a font and box color of #c540a6 will look
on a white background.
#c540a6 Color on black background
This is how a font and box color of #c540a6 hex color will look
on a black background.