In RGB color space, #542dc2 hex color has a red value of 84, a green value of 45 and a blue value of 194.
In CMYK color space (used in color printing), #542dc2 hex color is composed of 56.7% cyan, 76.8% magenta, 0% yellow and 23.92% black.
#542dc2 color has a hue of 255.7 degrees, a saturation of 62.34% and a lightness of 46.9%.
#542dc2 hex color contains mainly BLUE.
The closest web safe color of #542dc2 is #6633cc
#542dc2 hex color has a decimal value of 5516738.
HEX | 542dc2 | #542dc2 |
---|---|---|
RGB | 84, 45, 194 | rgb(84, 45, 194) |
RGB Percent | 32.94, 17.65, 76.08 | rgb(32.94, 17.65, 76.08) |
CMYK | 57, 77, 0, 24 | |
HSL | 255.7°, 62.34, 46.9 | hsl(255.7, 62.34%, 46.9%) |
HSV | 255.7°, 76.8, 76.1 |
XYZ | 14.332, 7.657, 51.761 |
---|---|
Hunter Lab | 27.671, 44.027, -91.536 |
CIE-LAB | 33.258, 53.81, -71.163 |
CIE-LCH | 33.258, 89.217, 307.095 |
CIE-LUV | 56.7, 76.8, 0, 23.92 |
Web Safe | 6633cc |
RGB percent of color #542dc2
CMYK percent of color #542dc2
Text with hexadecimal color #542dc2
This text has a font color of #542dc2
<p style="color:#542dc2">Text here</p>
#542dc2 Background Color
This box has a background color of #542dc2
<div style="background-color:#542dc2">Text here</div>
#542dc2 Border Color
This box has a border color of #542dc2
<div style="border: 4px solid #542dc2">Text here</div>
CSS codes
<p style="color:#542dc2">Text here</p>
<div style="background-color:#542dc2">Text here</div>
<div style="border: 4px solid #542dc2">Text here</div>
#542dc2 Color on white background
This is how a font and box color of #542dc2 will look
on a white background.
#542dc2 Color on black background
This is how a font and box color of #542dc2 hex color will look
on a black background.