In RGB color space, #542ef4 hex color has a red value of 84, a green value of 46 and a blue value of 244.
In CMYK color space (used in color printing), #542ef4 hex color is composed of 65.57% cyan, 81.15% magenta, 0% yellow and 4.31% black.
#542ef4 color has a hue of 251.5 degrees, a saturation of 90% and a lightness of 56.9%.
#542ef4 hex color contains mainly BLUE.
The closest web safe color of #542ef4 is #6633ff
#542ef4 hex color has a decimal value of 5517044.
HEX | 542ef4 | #542ef4 |
---|---|---|
RGB | 84, 46, 244 | rgb(84, 46, 244) |
RGB Percent | 32.94, 18.04, 95.69 | rgb(32.94, 18.04, 95.69) |
CMYK | 66, 81, 0, 4 | |
HSL | 251.5°, 90, 56.9 | hsl(251.5, 90%, 56.9%) |
HSV | 251.5°, 81.1, 95.7 |
XYZ | 20.962, 10.37, 86.485 |
---|---|
Hunter Lab | 32.202, 59.839, -136.691 |
CIE-LAB | 38.498, 67.182, -91.258 |
CIE-LCH | 38.498, 113.32, 306.36 |
CIE-LUV | 65.57, 81.15, 0, 4.31 |
Web Safe | 6633ff |
RGB percent of color #542ef4
CMYK percent of color #542ef4
Text with hexadecimal color #542ef4
This text has a font color of #542ef4
<p style="color:#542ef4">Text here</p>
#542ef4 Background Color
This box has a background color of #542ef4
<div style="background-color:#542ef4">Text here</div>
#542ef4 Border Color
This box has a border color of #542ef4
<div style="border: 4px solid #542ef4">Text here</div>
CSS codes
<p style="color:#542ef4">Text here</p>
<div style="background-color:#542ef4">Text here</div>
<div style="border: 4px solid #542ef4">Text here</div>
#542ef4 Color on white background
This is how a font and box color of #542ef4 will look
on a white background.
#542ef4 Color on black background
This is how a font and box color of #542ef4 hex color will look
on a black background.