In RGB color space, #540f99 hex color has a red value of 84, a green value of 15 and a blue value of 153.
In CMYK color space (used in color printing), #540f99 hex color is composed of 45.1% cyan, 90.2% magenta, 0% yellow and 40% black.
#540f99 color has a hue of 270 degrees, a saturation of 82.14% and a lightness of 32.9%.
#540f99 hex color contains mainly BLUE.
The closest web safe color of #540f99 is #660099
#540f99 hex color has a decimal value of 5509017.
HEX | 540f99 | #540f99 |
---|---|---|
RGB | 84, 15, 153 | rgb(84, 15, 153) |
RGB Percent | 32.94, 5.88, 60 | rgb(32.94, 5.88, 60) |
CMYK | 45, 90, 0, 40 | |
HSL | 270°, 82.14, 32.9 | hsl(270, 82.14%, 32.9%) |
HSV | 270°, 90.2, 60 |
XYZ | 9.577, 4.526, 30.506 |
---|---|
Hunter Lab | 21.274, 43.124, -70.126 |
CIE-LAB | 25.339, 54.48, -59.595 |
CIE-LCH | 25.339, 80.744, 312.433 |
CIE-LUV | 45.1, 90.2, 0, 40 |
Web Safe | 660099 |
RGB percent of color #540f99
CMYK percent of color #540f99
Text with hexadecimal color #540f99
This text has a font color of #540f99
<p style="color:#540f99">Text here</p>
#540f99 Background Color
This box has a background color of #540f99
<div style="background-color:#540f99">Text here</div>
#540f99 Border Color
This box has a border color of #540f99
<div style="border: 4px solid #540f99">Text here</div>
CSS codes
<p style="color:#540f99">Text here</p>
<div style="background-color:#540f99">Text here</div>
<div style="border: 4px solid #540f99">Text here</div>
#540f99 Color on white background
This is how a font and box color of #540f99 will look
on a white background.
#540f99 Color on black background
This is how a font and box color of #540f99 hex color will look
on a black background.