In RGB color space, #540ccc hex color has a red value of 84, a green value of 12 and a blue value of 204.
In CMYK color space (used in color printing), #540ccc hex color is composed of 58.82% cyan, 94.12% magenta, 0% yellow and 20% black.
#540ccc color has a hue of 262.5 degrees, a saturation of 88.89% and a lightness of 42.4%.
#540ccc hex color contains mainly BLUE.
The closest web safe color of #540ccc is #6600cc
#540ccc hex color has a decimal value of 5508300.
HEX | 540ccc | #540ccc |
---|---|---|
RGB | 84, 12, 204 | rgb(84, 12, 204) |
RGB Percent | 32.94, 4.71, 80 | rgb(32.94, 4.71, 80) |
CMYK | 59, 94, 0, 20 | |
HSL | 262.5°, 88.89, 42.4 | hsl(262.5, 88.89%, 42.4%) |
HSV | 262.5°, 94.1, 80 |
XYZ | 14.687, 6.507, 57.609 |
---|---|
Hunter Lab | 25.509, 58.133, -116.044 |
CIE-LAB | 30.657, 67.2, -81.317 |
CIE-LCH | 30.657, 105.491, 309.57 |
CIE-LUV | 58.82, 94.12, 0, 20 |
Web Safe | 6600cc |
RGB percent of color #540ccc
CMYK percent of color #540ccc
Text with hexadecimal color #540ccc
This text has a font color of #540ccc
<p style="color:#540ccc">Text here</p>
#540ccc Background Color
This box has a background color of #540ccc
<div style="background-color:#540ccc">Text here</div>
#540ccc Border Color
This box has a border color of #540ccc
<div style="border: 4px solid #540ccc">Text here</div>
CSS codes
<p style="color:#540ccc">Text here</p>
<div style="background-color:#540ccc">Text here</div>
<div style="border: 4px solid #540ccc">Text here</div>
#540ccc Color on white background
This is how a font and box color of #540ccc will look
on a white background.
#540ccc Color on black background
This is how a font and box color of #540ccc hex color will look
on a black background.