In RGB color space, #542bd5 hex color has a red value of 84, a green value of 43 and a blue value of 213.
In CMYK color space (used in color printing), #542bd5 hex color is composed of 60.56% cyan, 79.81% magenta, 0% yellow and 16.47% black.
#542bd5 color has a hue of 254.5 degrees, a saturation of 66.93% and a lightness of 50.2%.
#542bd5 hex color contains mainly BLUE.
The closest web safe color of #542bd5 is #6633cc
#542bd5 hex color has a decimal value of 5516245.
HEX | 542bd5 | #542bd5 |
---|---|---|
RGB | 84, 43, 213 | rgb(84, 43, 213) |
RGB Percent | 32.94, 16.86, 83.53 | rgb(32.94, 16.86, 83.53) |
CMYK | 61, 80, 0, 16 | |
HSL | 254.5°, 66.93, 50.2 | hsl(254.5, 66.93%, 50.2%) |
HSV | 254.5°, 79.8, 83.5 |
XYZ | 16.53, 8.417, 63.704 |
---|---|
Hunter Lab | 29.012, 50.932, -109.879 |
CIE-LAB | 34.837, 59.969, -79.626 |
CIE-LCH | 34.837, 99.682, 306.985 |
CIE-LUV | 60.56, 79.81, 0, 16.47 |
Web Safe | 6633cc |
RGB percent of color #542bd5
CMYK percent of color #542bd5
Text with hexadecimal color #542bd5
This text has a font color of #542bd5
<p style="color:#542bd5">Text here</p>
#542bd5 Background Color
This box has a background color of #542bd5
<div style="background-color:#542bd5">Text here</div>
#542bd5 Border Color
This box has a border color of #542bd5
<div style="border: 4px solid #542bd5">Text here</div>
CSS codes
<p style="color:#542bd5">Text here</p>
<div style="background-color:#542bd5">Text here</div>
<div style="border: 4px solid #542bd5">Text here</div>
#542bd5 Color on white background
This is how a font and box color of #542bd5 will look
on a white background.
#542bd5 Color on black background
This is how a font and box color of #542bd5 hex color will look
on a black background.