In RGB color space, #542dd2 hex color has a red value of 84, a green value of 45 and a blue value of 210.
In CMYK color space (used in color printing), #542dd2 hex color is composed of 60% cyan, 78.57% magenta, 0% yellow and 17.65% black.
#542dd2 color has a hue of 254.2 degrees, a saturation of 64.71% and a lightness of 50%.
#542dd2 hex color contains mainly BLUE.
The closest web safe color of #542dd2 is #6633cc
#542dd2 hex color has a decimal value of 5516754.
HEX | 542dd2 | #542dd2 |
---|---|---|
RGB | 84, 45, 210 | rgb(84, 45, 210) |
RGB Percent | 32.94, 17.65, 82.35 | rgb(32.94, 17.65, 82.35) |
CMYK | 60, 79, 0, 18 | |
HSL | 254.2°, 64.71, 50 | hsl(254.2, 64.71%, 50%) |
HSV | 254.2°, 78.6, 82.4 |
XYZ | 16.227, 8.415, 61.742 |
---|---|
Hunter Lab | 29.009, 49.085, -105.887 |
CIE-LAB | 34.833, 58.27, -77.898 |
CIE-LCH | 34.833, 97.28, 306.798 |
CIE-LUV | 60, 78.57, 0, 17.65 |
Web Safe | 6633cc |
RGB percent of color #542dd2
CMYK percent of color #542dd2
Text with hexadecimal color #542dd2
This text has a font color of #542dd2
<p style="color:#542dd2">Text here</p>
#542dd2 Background Color
This box has a background color of #542dd2
<div style="background-color:#542dd2">Text here</div>
#542dd2 Border Color
This box has a border color of #542dd2
<div style="border: 4px solid #542dd2">Text here</div>
CSS codes
<p style="color:#542dd2">Text here</p>
<div style="background-color:#542dd2">Text here</div>
<div style="border: 4px solid #542dd2">Text here</div>
#542dd2 Color on white background
This is how a font and box color of #542dd2 will look
on a white background.
#542dd2 Color on black background
This is how a font and box color of #542dd2 hex color will look
on a black background.