In RGB color space, #540082 hex color has a red value of 84, a green value of 0 and a blue value of 130.
In CMYK color space (used in color printing), #540082 hex color is composed of 35.38% cyan, 100% magenta, 0% yellow and 49.02% black.
#540082 color has a hue of 278.8 degrees, a saturation of 100% and a lightness of 25.5%.
#540082 hex color contains mainly BLUE.
The closest web safe color of #540082 is #660099
#540082 hex color has a decimal value of 5505154.
HEX | 540082 | #540082 |
---|---|---|
RGB | 84, 0, 130 | rgb(84, 0, 130) |
RGB Percent | 32.94, 0, 50.98 | rgb(32.94, 0, 50.98) |
CMYK | 35, 100, 0, 49 | |
HSL | 278.8°, 100, 25.5 | hsl(278.8, 100%, 25.5%) |
HSV | 278.8°, 100, 51 |
XYZ | 7.685, 3.497, 21.389 |
---|---|
Hunter Lab | 18.7, 40.63, -54.725 |
CIE-LAB | 21.934, 52.701, -50.86 |
CIE-LCH | 21.934, 73.24, 316.018 |
CIE-LUV | 35.38, 100, 0, 49.02 |
Web Safe | 660099 |
RGB percent of color #540082
CMYK percent of color #540082
Text with hexadecimal color #540082
This text has a font color of #540082
<p style="color:#540082">Text here</p>
#540082 Background Color
This box has a background color of #540082
<div style="background-color:#540082">Text here</div>
#540082 Border Color
This box has a border color of #540082
<div style="border: 4px solid #540082">Text here</div>
CSS codes
<p style="color:#540082">Text here</p>
<div style="background-color:#540082">Text here</div>
<div style="border: 4px solid #540082">Text here</div>
#540082 Color on white background
This is how a font and box color of #540082 will look
on a white background.
#540082 Color on black background
This is how a font and box color of #540082 hex color will look
on a black background.