In RGB color space, #c540ab hex color has a red value of 197, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #c540ab hex color is composed of 0% cyan, 67.51% magenta, 13.2% yellow and 22.75% black.
#c540ab color has a hue of 311.7 degrees, a saturation of 53.41% and a lightness of 51.2%.
#c540ab hex color contains mainly RED.
The closest web safe color of #c540ab is #cc3399
#c540ab hex color has a decimal value of 12927147.
HEX | c540ab | #c540ab |
---|---|---|
RGB | 197, 64, 171 | rgb(197, 64, 171) |
RGB Percent | 77.25, 25.1, 67.06 | rgb(77.25, 25.1, 67.06) |
CMYK | 0, 68, 13, 23 | |
HSL | 311.7°, 53.41, 51.2 | hsl(311.7, 53.41%, 51.2%) |
HSV | 311.7°, 67.5, 77.3 |
XYZ | 32.21, 18.477, 40.397 |
---|---|
Hunter Lab | 42.985, 58.532, -25.631 |
CIE-LAB | 50.07, 63.812, -29.799 |
CIE-LCH | 50.07, 70.427, 334.968 |
CIE-LUV | 0, 67.51, 13.2, 22.75 |
Web Safe | cc3399 |
RGB percent of color #c540ab
CMYK percent of color #c540ab
Text with hexadecimal color #c540ab
This text has a font color of #c540ab
<p style="color:#c540ab">Text here</p>
#c540ab Background Color
This box has a background color of #c540ab
<div style="background-color:#c540ab">Text here</div>
#c540ab Border Color
This box has a border color of #c540ab
<div style="border: 4px solid #c540ab">Text here</div>
CSS codes
<p style="color:#c540ab">Text here</p>
<div style="background-color:#c540ab">Text here</div>
<div style="border: 4px solid #c540ab">Text here</div>
#c540ab Color on white background
This is how a font and box color of #c540ab will look
on a white background.
#c540ab Color on black background
This is how a font and box color of #c540ab hex color will look
on a black background.