In RGB color space, #540daf hex color has a red value of 84, a green value of 13 and a blue value of 175.
In CMYK color space (used in color printing), #540daf hex color is composed of 52% cyan, 92.57% magenta, 0% yellow and 31.37% black.
#540daf color has a hue of 266.3 degrees, a saturation of 86.17% and a lightness of 36.9%.
#540daf hex color contains mainly BLUE.
The closest web safe color of #540daf is #660099
#540daf hex color has a decimal value of 5508527.
HEX | 540daf | #540daf |
---|---|---|
RGB | 84, 13, 175 | rgb(84, 13, 175) |
RGB Percent | 32.94, 5.1, 68.63 | rgb(32.94, 5.1, 68.63) |
CMYK | 52, 93, 0, 31 | |
HSL | 266.3°, 86.17, 36.9 | hsl(266.3, 86.17%, 36.9%) |
HSV | 266.3°, 92.6, 68.6 |
XYZ | 11.538, 5.268, 40.966 |
---|---|
Hunter Lab | 22.952, 49.565, -89.757 |
CIE-LAB | 27.485, 60.136, -69.409 |
CIE-LCH | 27.485, 91.837, 310.906 |
CIE-LUV | 52, 92.57, 0, 31.37 |
Web Safe | 660099 |
RGB percent of color #540daf
CMYK percent of color #540daf
Text with hexadecimal color #540daf
This text has a font color of #540daf
<p style="color:#540daf">Text here</p>
#540daf Background Color
This box has a background color of #540daf
<div style="background-color:#540daf">Text here</div>
#540daf Border Color
This box has a border color of #540daf
<div style="border: 4px solid #540daf">Text here</div>
CSS codes
<p style="color:#540daf">Text here</p>
<div style="background-color:#540daf">Text here</div>
<div style="border: 4px solid #540daf">Text here</div>
#540daf Color on white background
This is how a font and box color of #540daf will look
on a white background.
#540daf Color on black background
This is how a font and box color of #540daf hex color will look
on a black background.