In RGB color space, #540f98 hex color has a red value of 84, a green value of 15 and a blue value of 152.
In CMYK color space (used in color printing), #540f98 hex color is composed of 44.74% cyan, 90.13% magenta, 0% yellow and 40.39% black.
#540f98 color has a hue of 270.2 degrees, a saturation of 82.04% and a lightness of 32.7%.
#540f98 hex color contains mainly BLUE.
The closest web safe color of #540f98 is #660099
#540f98 hex color has a decimal value of 5509016.
HEX | 540f98 | #540f98 |
---|---|---|
RGB | 84, 15, 152 | rgb(84, 15, 152) |
RGB Percent | 32.94, 5.88, 59.61 | rgb(32.94, 5.88, 59.61) |
CMYK | 45, 90, 0, 40 | |
HSL | 270.2°, 82.04, 32.7 | hsl(270.2, 82.04%, 32.7%) |
HSV | 270.2°, 90.1, 59.6 |
XYZ | 9.494, 4.493, 30.073 |
---|---|
Hunter Lab | 21.197, 42.856, -69.281 |
CIE-LAB | 25.239, 54.24, -59.146 |
CIE-LCH | 25.239, 80.251, 312.522 |
CIE-LUV | 44.74, 90.13, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #540f98
CMYK percent of color #540f98
Text with hexadecimal color #540f98
This text has a font color of #540f98
<p style="color:#540f98">Text here</p>
#540f98 Background Color
This box has a background color of #540f98
<div style="background-color:#540f98">Text here</div>
#540f98 Border Color
This box has a border color of #540f98
<div style="border: 4px solid #540f98">Text here</div>
CSS codes
<p style="color:#540f98">Text here</p>
<div style="background-color:#540f98">Text here</div>
<div style="border: 4px solid #540f98">Text here</div>
#540f98 Color on white background
This is how a font and box color of #540f98 will look
on a white background.
#540f98 Color on black background
This is how a font and box color of #540f98 hex color will look
on a black background.