In RGB color space, #540cb5 hex color has a red value of 84, a green value of 12 and a blue value of 181.
In CMYK color space (used in color printing), #540cb5 hex color is composed of 53.59% cyan, 93.37% magenta, 0% yellow and 29.02% black.
#540cb5 color has a hue of 265.6 degrees, a saturation of 87.56% and a lightness of 37.8%.
#540cb5 hex color contains mainly BLUE.
The closest web safe color of #540cb5 is #6600cc
#540cb5 hex color has a decimal value of 5508277.
HEX | 540cb5 | #540cb5 |
---|---|---|
RGB | 84, 12, 181 | rgb(84, 12, 181) |
RGB Percent | 32.94, 4.71, 70.98 | rgb(32.94, 4.71, 70.98) |
CMYK | 54, 93, 0, 29 | |
HSL | 265.6°, 87.56, 37.8 | hsl(265.6, 87.56%, 37.8%) |
HSV | 265.6°, 93.4, 71 |
XYZ | 12.128, 5.484, 44.135 |
---|---|
Hunter Lab | 23.418, 51.463, -95.349 |
CIE-LAB | 28.071, 61.758, -72.029 |
CIE-LCH | 28.071, 94.88, 310.61 |
CIE-LUV | 53.59, 93.37, 0, 29.02 |
Web Safe | 6600cc |
RGB percent of color #540cb5
CMYK percent of color #540cb5
Text with hexadecimal color #540cb5
This text has a font color of #540cb5
<p style="color:#540cb5">Text here</p>
#540cb5 Background Color
This box has a background color of #540cb5
<div style="background-color:#540cb5">Text here</div>
#540cb5 Border Color
This box has a border color of #540cb5
<div style="border: 4px solid #540cb5">Text here</div>
CSS codes
<p style="color:#540cb5">Text here</p>
<div style="background-color:#540cb5">Text here</div>
<div style="border: 4px solid #540cb5">Text here</div>
#540cb5 Color on white background
This is how a font and box color of #540cb5 will look
on a white background.
#540cb5 Color on black background
This is how a font and box color of #540cb5 hex color will look
on a black background.