In RGB color space, #542ad4 hex color has a red value of 84, a green value of 42 and a blue value of 212.
In CMYK color space (used in color printing), #542ad4 hex color is composed of 60.38% cyan, 80.19% magenta, 0% yellow and 16.86% black.
#542ad4 color has a hue of 254.8 degrees, a saturation of 66.93% and a lightness of 49.8%.
#542ad4 hex color contains mainly BLUE.
The closest web safe color of #542ad4 is #6633cc
#542ad4 hex color has a decimal value of 5515988.
HEX | 542ad4 | #542ad4 |
---|---|---|
RGB | 84, 42, 212 | rgb(84, 42, 212) |
RGB Percent | 32.94, 16.47, 83.14 | rgb(32.94, 16.47, 83.14) |
CMYK | 60, 80, 0, 17 | |
HSL | 254.8°, 66.93, 49.8 | hsl(254.8, 66.93%, 49.8%) |
HSV | 254.8°, 80.2, 83.1 |
XYZ | 16.368, 8.294, 63.026 |
---|---|
Hunter Lab | 28.799, 51.051, -109.594 |
CIE-LAB | 34.588, 60.127, -79.46 |
CIE-LCH | 34.588, 99.645, 307.115 |
CIE-LUV | 60.38, 80.19, 0, 16.86 |
Web Safe | 6633cc |
RGB percent of color #542ad4
CMYK percent of color #542ad4
Text with hexadecimal color #542ad4
This text has a font color of #542ad4
<p style="color:#542ad4">Text here</p>
#542ad4 Background Color
This box has a background color of #542ad4
<div style="background-color:#542ad4">Text here</div>
#542ad4 Border Color
This box has a border color of #542ad4
<div style="border: 4px solid #542ad4">Text here</div>
CSS codes
<p style="color:#542ad4">Text here</p>
<div style="background-color:#542ad4">Text here</div>
<div style="border: 4px solid #542ad4">Text here</div>
#542ad4 Color on white background
This is how a font and box color of #542ad4 will look
on a white background.
#542ad4 Color on black background
This is how a font and box color of #542ad4 hex color will look
on a black background.