In RGB color space, #540ad8 hex color has a red value of 84, a green value of 10 and a blue value of 216.
In CMYK color space (used in color printing), #540ad8 hex color is composed of 61.11% cyan, 95.37% magenta, 0% yellow and 15.29% black.
#540ad8 color has a hue of 261.6 degrees, a saturation of 91.15% and a lightness of 44.3%.
#540ad8 hex color contains mainly BLUE.
The closest web safe color of #540ad8 is #6600cc
#540ad8 hex color has a decimal value of 5507800.
HEX | 540ad8 | #540ad8 |
---|---|---|
RGB | 84, 10, 216 | rgb(84, 10, 216) |
RGB Percent | 32.94, 3.92, 84.71 | rgb(32.94, 3.92, 84.71) |
CMYK | 61, 95, 0, 15 | |
HSL | 261.6°, 91.15, 44.3 | hsl(261.6, 91.15%, 44.3%) |
HSV | 261.6°, 95.4, 84.7 |
XYZ | 16.159, 7.06, 65.477 |
---|---|
Hunter Lab | 26.571, 62.056, -127.506 |
CIE-LAB | 31.943, 70.337, -86.153 |
CIE-LCH | 31.943, 111.219, 309.229 |
CIE-LUV | 61.11, 95.37, 0, 15.29 |
Web Safe | 6600cc |
RGB percent of color #540ad8
CMYK percent of color #540ad8
Text with hexadecimal color #540ad8
This text has a font color of #540ad8
<p style="color:#540ad8">Text here</p>
#540ad8 Background Color
This box has a background color of #540ad8
<div style="background-color:#540ad8">Text here</div>
#540ad8 Border Color
This box has a border color of #540ad8
<div style="border: 4px solid #540ad8">Text here</div>
CSS codes
<p style="color:#540ad8">Text here</p>
<div style="background-color:#540ad8">Text here</div>
<div style="border: 4px solid #540ad8">Text here</div>
#540ad8 Color on white background
This is how a font and box color of #540ad8 will look
on a white background.
#540ad8 Color on black background
This is how a font and box color of #540ad8 hex color will look
on a black background.