In RGB color space, #540ab6 hex color has a red value of 84, a green value of 10 and a blue value of 182.
In CMYK color space (used in color printing), #540ab6 hex color is composed of 53.85% cyan, 94.51% magenta, 0% yellow and 28.63% black.
#540ab6 color has a hue of 265.8 degrees, a saturation of 89.58% and a lightness of 37.6%.
#540ab6 hex color contains mainly BLUE.
The closest web safe color of #540ab6 is #6600cc
#540ab6 hex color has a decimal value of 5507766.
HEX | 540ab6 | #540ab6 |
---|---|---|
RGB | 84, 10, 182 | rgb(84, 10, 182) |
RGB Percent | 32.94, 3.92, 71.37 | rgb(32.94, 3.92, 71.37) |
CMYK | 54, 95, 0, 29 | |
HSL | 265.8°, 89.58, 37.6 | hsl(265.8, 89.58%, 37.6%) |
HSV | 265.8°, 94.5, 71.4 |
XYZ | 12.208, 5.479, 44.67 |
---|---|
Hunter Lab | 23.407, 52.134, -96.763 |
CIE-LAB | 28.058, 62.368, -72.648 |
CIE-LCH | 28.058, 95.747, 310.646 |
CIE-LUV | 53.85, 94.51, 0, 28.63 |
Web Safe | 6600cc |
RGB percent of color #540ab6
CMYK percent of color #540ab6
Text with hexadecimal color #540ab6
This text has a font color of #540ab6
<p style="color:#540ab6">Text here</p>
#540ab6 Background Color
This box has a background color of #540ab6
<div style="background-color:#540ab6">Text here</div>
#540ab6 Border Color
This box has a border color of #540ab6
<div style="border: 4px solid #540ab6">Text here</div>
CSS codes
<p style="color:#540ab6">Text here</p>
<div style="background-color:#540ab6">Text here</div>
<div style="border: 4px solid #540ab6">Text here</div>
#540ab6 Color on white background
This is how a font and box color of #540ab6 will look
on a white background.
#540ab6 Color on black background
This is how a font and box color of #540ab6 hex color will look
on a black background.