In RGB color space, #542ec6 hex color has a red value of 84, a green value of 46 and a blue value of 198.
In CMYK color space (used in color printing), #542ec6 hex color is composed of 57.58% cyan, 76.77% magenta, 0% yellow and 22.35% black.
#542ec6 color has a hue of 255 degrees, a saturation of 62.3% and a lightness of 47.8%.
#542ec6 hex color contains mainly BLUE.
The closest web safe color of #542ec6 is #6633cc
#542ec6 hex color has a decimal value of 5516998.
HEX | 542ec6 | #542ec6 |
---|---|---|
RGB | 84, 46, 198 | rgb(84, 46, 198) |
RGB Percent | 32.94, 18.04, 77.65 | rgb(32.94, 18.04, 77.65) |
CMYK | 58, 77, 0, 22 | |
HSL | 255°, 62.3, 47.8 | hsl(255, 62.3%, 47.8%) |
HSV | 255°, 76.8, 77.6 |
XYZ | 14.826, 7.916, 54.173 |
---|---|
Hunter Lab | 28.135, 44.824, -94.465 |
CIE-LAB | 33.807, 54.466, -72.604 |
CIE-LCH | 33.807, 90.763, 306.876 |
CIE-LUV | 57.58, 76.77, 0, 22.35 |
Web Safe | 6633cc |
RGB percent of color #542ec6
CMYK percent of color #542ec6
Text with hexadecimal color #542ec6
This text has a font color of #542ec6
<p style="color:#542ec6">Text here</p>
#542ec6 Background Color
This box has a background color of #542ec6
<div style="background-color:#542ec6">Text here</div>
#542ec6 Border Color
This box has a border color of #542ec6
<div style="border: 4px solid #542ec6">Text here</div>
CSS codes
<p style="color:#542ec6">Text here</p>
<div style="background-color:#542ec6">Text here</div>
<div style="border: 4px solid #542ec6">Text here</div>
#542ec6 Color on white background
This is how a font and box color of #542ec6 will look
on a white background.
#542ec6 Color on black background
This is how a font and box color of #542ec6 hex color will look
on a black background.