In RGB color space, #540198 hex color has a red value of 84, a green value of 1 and a blue value of 152.
In CMYK color space (used in color printing), #540198 hex color is composed of 44.74% cyan, 99.34% magenta, 0% yellow and 40.39% black.
#540198 color has a hue of 273 degrees, a saturation of 98.69% and a lightness of 30%.
#540198 hex color contains mainly BLUE.
The closest web safe color of #540198 is #660099
#540198 hex color has a decimal value of 5505432.
HEX | 540198 | #540198 |
---|---|---|
RGB | 84, 1, 152 | rgb(84, 1, 152) |
RGB Percent | 32.94, 0.39, 59.61 | rgb(32.94, 0.39, 59.61) |
CMYK | 45, 99, 0, 40 | |
HSL | 273°, 98.69, 30 | hsl(273, 98.69%, 30%) |
HSV | 273°, 99.3, 59.6 |
XYZ | 9.335, 4.174, 30.019 |
---|---|
Hunter Lab | 20.43, 45.807, -72.815 |
CIE-LAB | 24.239, 57.248, -60.793 |
CIE-LCH | 24.239, 83.505, 313.28 |
CIE-LUV | 44.74, 99.34, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #540198
CMYK percent of color #540198
Text with hexadecimal color #540198
This text has a font color of #540198
<p style="color:#540198">Text here</p>
#540198 Background Color
This box has a background color of #540198
<div style="background-color:#540198">Text here</div>
#540198 Border Color
This box has a border color of #540198
<div style="border: 4px solid #540198">Text here</div>
CSS codes
<p style="color:#540198">Text here</p>
<div style="background-color:#540198">Text here</div>
<div style="border: 4px solid #540198">Text here</div>
#540198 Color on white background
This is how a font and box color of #540198 will look
on a white background.
#540198 Color on black background
This is how a font and box color of #540198 hex color will look
on a black background.