In RGB color space, #540080 hex color has a red value of 84, a green value of 0 and a blue value of 128.
In CMYK color space (used in color printing), #540080 hex color is composed of 34.38% cyan, 100% magenta, 0% yellow and 49.8% black.
#540080 color has a hue of 279.4 degrees, a saturation of 100% and a lightness of 25.1%.
#540080 hex color contains mainly BLUE.
The closest web safe color of #540080 is #660099
#540080 hex color has a decimal value of 5505152.
HEX | 540080 | #540080 |
---|---|---|
RGB | 84, 0, 128 | rgb(84, 0, 128) |
RGB Percent | 32.94, 0, 50.2 | rgb(32.94, 0, 50.2) |
CMYK | 34, 100, 0, 50 | |
HSL | 279.4°, 100, 25.1 | hsl(279.4, 100%, 25.1%) |
HSV | 279.4°, 100, 50.2 |
XYZ | 7.552, 3.443, 20.689 |
---|---|
Hunter Lab | 18.555, 40.178, -53.119 |
CIE-LAB | 21.737, 52.293, -49.916 |
CIE-LCH | 21.737, 72.292, 316.332 |
CIE-LUV | 34.38, 100, 0, 49.8 |
Web Safe | 660099 |
RGB percent of color #540080
CMYK percent of color #540080
Text with hexadecimal color #540080
This text has a font color of #540080
<p style="color:#540080">Text here</p>
#540080 Background Color
This box has a background color of #540080
<div style="background-color:#540080">Text here</div>
#540080 Border Color
This box has a border color of #540080
<div style="border: 4px solid #540080">Text here</div>
CSS codes
<p style="color:#540080">Text here</p>
<div style="background-color:#540080">Text here</div>
<div style="border: 4px solid #540080">Text here</div>
#540080 Color on white background
This is how a font and box color of #540080 will look
on a white background.
#540080 Color on black background
This is how a font and box color of #540080 hex color will look
on a black background.