In RGB color space, #542ac8 hex color has a red value of 84, a green value of 42 and a blue value of 200.
In CMYK color space (used in color printing), #542ac8 hex color is composed of 58% cyan, 79% magenta, 0% yellow and 21.57% black.
#542ac8 color has a hue of 255.9 degrees, a saturation of 65.29% and a lightness of 47.5%.
#542ac8 hex color contains mainly BLUE.
The closest web safe color of #542ac8 is #6633cc
#542ac8 hex color has a decimal value of 5515976.
HEX | 542ac8 | #542ac8 |
---|---|---|
RGB | 84, 42, 200 | rgb(84, 42, 200) |
RGB Percent | 32.94, 16.47, 78.43 | rgb(32.94, 16.47, 78.43) |
CMYK | 58, 79, 0, 22 | |
HSL | 255.9°, 65.29, 47.5 | hsl(255.9, 65.29%, 47.5%) |
HSV | 255.9°, 79, 78.4 |
XYZ | 14.909, 7.711, 55.346 |
---|---|
Hunter Lab | 27.769, 47.241, -98.733 |
CIE-LAB | 33.374, 56.837, -74.487 |
CIE-LCH | 33.374, 93.695, 307.345 |
CIE-LUV | 58, 79, 0, 21.57 |
Web Safe | 6633cc |
RGB percent of color #542ac8
CMYK percent of color #542ac8
Text with hexadecimal color #542ac8
This text has a font color of #542ac8
<p style="color:#542ac8">Text here</p>
#542ac8 Background Color
This box has a background color of #542ac8
<div style="background-color:#542ac8">Text here</div>
#542ac8 Border Color
This box has a border color of #542ac8
<div style="border: 4px solid #542ac8">Text here</div>
CSS codes
<p style="color:#542ac8">Text here</p>
<div style="background-color:#542ac8">Text here</div>
<div style="border: 4px solid #542ac8">Text here</div>
#542ac8 Color on white background
This is how a font and box color of #542ac8 will look
on a white background.
#542ac8 Color on black background
This is how a font and box color of #542ac8 hex color will look
on a black background.