In RGB color space, #542da2 hex color has a red value of 84, a green value of 45 and a blue value of 162.
In CMYK color space (used in color printing), #542da2 hex color is composed of 48.15% cyan, 72.22% magenta, 0% yellow and 36.47% black.
#542da2 color has a hue of 260 degrees, a saturation of 56.52% and a lightness of 40.6%.
#542da2 hex color contains mainly BLUE.
The closest web safe color of #542da2 is #663399
#542da2 hex color has a decimal value of 5516706.
HEX | 542da2 | #542da2 |
---|---|---|
RGB | 84, 45, 162 | rgb(84, 45, 162) |
RGB Percent | 32.94, 17.65, 63.53 | rgb(32.94, 17.65, 63.53) |
CMYK | 48, 72, 0, 36 | |
HSL | 260°, 56.52, 40.6 | hsl(260, 56.52%, 40.6%) |
HSV | 260°, 72.2, 63.5 |
XYZ | 11.116, 6.37, 34.826 |
---|---|
Hunter Lab | 25.239, 34.449, -64.144 |
CIE-LAB | 30.327, 44.829, -56.902 |
CIE-LCH | 30.327, 72.439, 308.232 |
CIE-LUV | 48.15, 72.22, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #542da2
CMYK percent of color #542da2
Text with hexadecimal color #542da2
This text has a font color of #542da2
<p style="color:#542da2">Text here</p>
#542da2 Background Color
This box has a background color of #542da2
<div style="background-color:#542da2">Text here</div>
#542da2 Border Color
This box has a border color of #542da2
<div style="border: 4px solid #542da2">Text here</div>
CSS codes
<p style="color:#542da2">Text here</p>
<div style="background-color:#542da2">Text here</div>
<div style="border: 4px solid #542da2">Text here</div>
#542da2 Color on white background
This is how a font and box color of #542da2 will look
on a white background.
#542da2 Color on black background
This is how a font and box color of #542da2 hex color will look
on a black background.