In RGB color space, #542ea0 hex color has a red value of 84, a green value of 46 and a blue value of 160.
In CMYK color space (used in color printing), #542ea0 hex color is composed of 47.5% cyan, 71.25% magenta, 0% yellow and 37.25% black.
#542ea0 color has a hue of 260 degrees, a saturation of 55.34% and a lightness of 40.4%.
#542ea0 hex color contains mainly BLUE.
The closest web safe color of #542ea0 is #663399
#542ea0 hex color has a decimal value of 5516960.
HEX | 542ea0 | #542ea0 |
---|---|---|
RGB | 84, 46, 160 | rgb(84, 46, 160) |
RGB Percent | 32.94, 18.04, 62.75 | rgb(32.94, 18.04, 62.75) |
CMYK | 48, 71, 0, 37 | |
HSL | 260°, 55.34, 40.4 | hsl(260, 55.34%, 40.4%) |
HSV | 260°, 71.3, 62.7 |
XYZ | 10.978, 6.377, 33.91 |
---|---|
Hunter Lab | 25.253, 33.406, -61.939 |
CIE-LAB | 30.344, 43.739, -55.663 |
CIE-LCH | 30.344, 70.792, 308.16 |
CIE-LUV | 47.5, 71.25, 0, 37.25 |
Web Safe | 663399 |
RGB percent of color #542ea0
CMYK percent of color #542ea0
Text with hexadecimal color #542ea0
This text has a font color of #542ea0
<p style="color:#542ea0">Text here</p>
#542ea0 Background Color
This box has a background color of #542ea0
<div style="background-color:#542ea0">Text here</div>
#542ea0 Border Color
This box has a border color of #542ea0
<div style="border: 4px solid #542ea0">Text here</div>
CSS codes
<p style="color:#542ea0">Text here</p>
<div style="background-color:#542ea0">Text here</div>
<div style="border: 4px solid #542ea0">Text here</div>
#542ea0 Color on white background
This is how a font and box color of #542ea0 will look
on a white background.
#542ea0 Color on black background
This is how a font and box color of #542ea0 hex color will look
on a black background.