In RGB color space, #542ad2 hex color has a red value of 84, a green value of 42 and a blue value of 210.
In CMYK color space (used in color printing), #542ad2 hex color is composed of 60% cyan, 80% magenta, 0% yellow and 17.65% black.
#542ad2 color has a hue of 255 degrees, a saturation of 66.67% and a lightness of 49.4%.
#542ad2 hex color contains mainly BLUE.
The closest web safe color of #542ad2 is #6633cc
#542ad2 hex color has a decimal value of 5515986.
HEX | 542ad2 | #542ad2 |
---|---|---|
RGB | 84, 42, 210 | rgb(84, 42, 210) |
RGB Percent | 32.94, 16.47, 82.35 | rgb(32.94, 16.47, 82.35) |
CMYK | 60, 80, 0, 18 | |
HSL | 255°, 66.67, 49.4 | hsl(255, 66.67%, 49.4%) |
HSV | 255°, 80, 82.4 |
XYZ | 16.117, 8.194, 61.705 |
---|---|
Hunter Lab | 28.625, 50.408, -107.769 |
CIE-LAB | 34.384, 59.577, -78.639 |
CIE-LCH | 34.384, 98.659, 307.148 |
CIE-LUV | 60, 80, 0, 17.65 |
Web Safe | 6633cc |
RGB percent of color #542ad2
CMYK percent of color #542ad2
Text with hexadecimal color #542ad2
This text has a font color of #542ad2
<p style="color:#542ad2">Text here</p>
#542ad2 Background Color
This box has a background color of #542ad2
<div style="background-color:#542ad2">Text here</div>
#542ad2 Border Color
This box has a border color of #542ad2
<div style="border: 4px solid #542ad2">Text here</div>
CSS codes
<p style="color:#542ad2">Text here</p>
<div style="background-color:#542ad2">Text here</div>
<div style="border: 4px solid #542ad2">Text here</div>
#542ad2 Color on white background
This is how a font and box color of #542ad2 will look
on a white background.
#542ad2 Color on black background
This is how a font and box color of #542ad2 hex color will look
on a black background.