In RGB color space, #542af5 hex color has a red value of 84, a green value of 42 and a blue value of 245.
In CMYK color space (used in color printing), #542af5 hex color is composed of 65.71% cyan, 82.86% magenta, 0% yellow and 3.92% black.
#542af5 color has a hue of 252.4 degrees, a saturation of 91.03% and a lightness of 56.3%.
#542af5 hex color contains mainly BLUE.
The closest web safe color of #542af5 is #6633ff
#542af5 hex color has a decimal value of 5516021.
HEX | 542af5 | #542af5 |
---|---|---|
RGB | 84, 42, 245 | rgb(84, 42, 245) |
RGB Percent | 32.94, 16.47, 96.08 | rgb(32.94, 16.47, 96.08) |
CMYK | 66, 83, 0, 4 | |
HSL | 252.4°, 91.03, 56.3 | hsl(252.4, 91.03%, 56.3%) |
HSV | 252.4°, 82.9, 96.1 |
XYZ | 20.966, 10.133, 87.237 |
---|---|
Hunter Lab | 31.832, 61.86, -140.202 |
CIE-LAB | 38.08, 69.004, -92.515 |
CIE-LCH | 38.08, 115.415, 306.718 |
CIE-LUV | 65.71, 82.86, 0, 3.92 |
Web Safe | 6633ff |
RGB percent of color #542af5
CMYK percent of color #542af5
Text with hexadecimal color #542af5
This text has a font color of #542af5
<p style="color:#542af5">Text here</p>
#542af5 Background Color
This box has a background color of #542af5
<div style="background-color:#542af5">Text here</div>
#542af5 Border Color
This box has a border color of #542af5
<div style="border: 4px solid #542af5">Text here</div>
CSS codes
<p style="color:#542af5">Text here</p>
<div style="background-color:#542af5">Text here</div>
<div style="border: 4px solid #542af5">Text here</div>
#542af5 Color on white background
This is how a font and box color of #542af5 will look
on a white background.
#542af5 Color on black background
This is how a font and box color of #542af5 hex color will look
on a black background.