In RGB color space, #540ec6 hex color has a red value of 84, a green value of 14 and a blue value of 198.
In CMYK color space (used in color printing), #540ec6 hex color is composed of 57.58% cyan, 92.93% magenta, 0% yellow and 22.35% black.
#540ec6 color has a hue of 262.8 degrees, a saturation of 86.79% and a lightness of 41.6%.
#540ec6 hex color contains mainly BLUE.
The closest web safe color of #540ec6 is #6600cc
#540ec6 hex color has a decimal value of 5508806.
HEX | 540ec6 | #540ec6 |
---|---|---|
RGB | 84, 14, 198 | rgb(84, 14, 198) |
RGB Percent | 32.94, 5.49, 77.65 | rgb(32.94, 5.49, 77.65) |
CMYK | 58, 93, 0, 22 | |
HSL | 262.8°, 86.79, 41.6 | hsl(262.8, 86.79%, 41.6%) |
HSV | 262.8°, 92.9, 77.6 |
XYZ | 14.006, 6.276, 53.899 |
---|---|
Hunter Lab | 25.052, 55.955, -110.025 |
CIE-LAB | 30.098, 65.396, -78.731 |
CIE-LCH | 30.098, 102.348, 309.714 |
CIE-LUV | 57.58, 92.93, 0, 22.35 |
Web Safe | 6600cc |
RGB percent of color #540ec6
CMYK percent of color #540ec6
Text with hexadecimal color #540ec6
This text has a font color of #540ec6
<p style="color:#540ec6">Text here</p>
#540ec6 Background Color
This box has a background color of #540ec6
<div style="background-color:#540ec6">Text here</div>
#540ec6 Border Color
This box has a border color of #540ec6
<div style="border: 4px solid #540ec6">Text here</div>
CSS codes
<p style="color:#540ec6">Text here</p>
<div style="background-color:#540ec6">Text here</div>
<div style="border: 4px solid #540ec6">Text here</div>
#540ec6 Color on white background
This is how a font and box color of #540ec6 will look
on a white background.
#540ec6 Color on black background
This is how a font and box color of #540ec6 hex color will look
on a black background.