In RGB color space, #540ccf hex color has a red value of 84, a green value of 12 and a blue value of 207.
In CMYK color space (used in color printing), #540ccf hex color is composed of 59.42% cyan, 94.2% magenta, 0% yellow and 18.82% black.
#540ccf color has a hue of 262.2 degrees, a saturation of 89.04% and a lightness of 42.9%.
#540ccf hex color contains mainly BLUE.
The closest web safe color of #540ccf is #6600cc
#540ccf hex color has a decimal value of 5508303.
HEX | 540ccf | #540ccf |
---|---|---|
RGB | 84, 12, 207 | rgb(84, 12, 207) |
RGB Percent | 32.94, 4.71, 81.18 | rgb(32.94, 4.71, 81.18) |
CMYK | 59, 94, 0, 19 | |
HSL | 262.2°, 89.04, 42.9 | hsl(262.2, 89.04%, 42.9%) |
HSV | 262.2°, 94.2, 81.2 |
XYZ | 15.05, 6.653, 59.522 |
---|---|
Hunter Lab | 25.793, 59.013, -118.765 |
CIE-LAB | 31.004, 67.9, -82.491 |
CIE-LCH | 31.004, 106.842, 309.458 |
CIE-LUV | 59.42, 94.2, 0, 18.82 |
Web Safe | 6600cc |
RGB percent of color #540ccf
CMYK percent of color #540ccf
Text with hexadecimal color #540ccf
This text has a font color of #540ccf
<p style="color:#540ccf">Text here</p>
#540ccf Background Color
This box has a background color of #540ccf
<div style="background-color:#540ccf">Text here</div>
#540ccf Border Color
This box has a border color of #540ccf
<div style="border: 4px solid #540ccf">Text here</div>
CSS codes
<p style="color:#540ccf">Text here</p>
<div style="background-color:#540ccf">Text here</div>
<div style="border: 4px solid #540ccf">Text here</div>
#540ccf Color on white background
This is how a font and box color of #540ccf will look
on a white background.
#540ccf Color on black background
This is how a font and box color of #540ccf hex color will look
on a black background.