In RGB color space, #542ac0 hex color has a red value of 84, a green value of 42 and a blue value of 192.
In CMYK color space (used in color printing), #542ac0 hex color is composed of 56.25% cyan, 78.13% magenta, 0% yellow and 24.71% black.
#542ac0 color has a hue of 256.8 degrees, a saturation of 64.1% and a lightness of 45.9%.
#542ac0 hex color contains mainly BLUE.
The closest web safe color of #542ac0 is #6633cc
#542ac0 hex color has a decimal value of 5515968.
HEX | 542ac0 | #542ac0 |
---|---|---|
RGB | 84, 42, 192 | rgb(84, 42, 192) |
RGB Percent | 32.94, 16.47, 75.29 | rgb(32.94, 16.47, 75.29) |
CMYK | 56, 78, 0, 25 | |
HSL | 256.8°, 64.1, 45.9 | hsl(256.8, 64.1%, 45.9%) |
HSV | 256.8°, 78.1, 75.3 |
XYZ | 13.999, 7.347, 50.549 |
---|---|
Hunter Lab | 27.105, 44.755, -91.597 |
CIE-LAB | 32.584, 54.638, -71.097 |
CIE-LCH | 32.584, 89.667, 307.542 |
CIE-LUV | 56.25, 78.13, 0, 24.71 |
Web Safe | 6633cc |
RGB percent of color #542ac0
CMYK percent of color #542ac0
Text with hexadecimal color #542ac0
This text has a font color of #542ac0
<p style="color:#542ac0">Text here</p>
#542ac0 Background Color
This box has a background color of #542ac0
<div style="background-color:#542ac0">Text here</div>
#542ac0 Border Color
This box has a border color of #542ac0
<div style="border: 4px solid #542ac0">Text here</div>
CSS codes
<p style="color:#542ac0">Text here</p>
<div style="background-color:#542ac0">Text here</div>
<div style="border: 4px solid #542ac0">Text here</div>
#542ac0 Color on white background
This is how a font and box color of #542ac0 will look
on a white background.
#542ac0 Color on black background
This is how a font and box color of #542ac0 hex color will look
on a black background.