In RGB color space, #5242ef hex color has a red value of 82, a green value of 66 and a blue value of 239.
In CMYK color space (used in color printing), #5242ef hex color is composed of 65.69% cyan, 72.38% magenta, 0% yellow and 6.27% black.
#5242ef color has a hue of 245.5 degrees, a saturation of 84.39% and a lightness of 59.8%.
#5242ef hex color contains mainly BLUE.
The closest web safe color of #5242ef is #6633ff
#5242ef hex color has a decimal value of 5391087.
HEX | 5242ef | #5242ef |
---|---|---|
RGB | 82, 66, 239 | rgb(82, 66, 239) |
RGB Percent | 32.16, 25.88, 93.73 | rgb(32.16, 25.88, 93.73) |
CMYK | 66, 72, 0, 6 | |
HSL | 245.5°, 84.39, 59.8 | hsl(245.5, 84.39%, 59.8%) |
HSV | 245.5°, 72.4, 93.7 |
XYZ | 21.008, 11.922, 82.855 |
---|---|
Hunter Lab | 34.528, 48.18, -118.104 |
CIE-LAB | 41.092, 56.224, -84.158 |
CIE-LCH | 41.092, 101.211, 303.746 |
CIE-LUV | 65.69, 72.38, 0, 6.27 |
Web Safe | 6633ff |
RGB percent of color #5242ef
CMYK percent of color #5242ef
Text with hexadecimal color #5242ef
This text has a font color of #5242ef
<p style="color:#5242ef">Text here</p>
#5242ef Background Color
This box has a background color of #5242ef
<div style="background-color:#5242ef">Text here</div>
#5242ef Border Color
This box has a border color of #5242ef
<div style="border: 4px solid #5242ef">Text here</div>
CSS codes
<p style="color:#5242ef">Text here</p>
<div style="background-color:#5242ef">Text here</div>
<div style="border: 4px solid #5242ef">Text here</div>
#5242ef Color on white background
This is how a font and box color of #5242ef will look
on a white background.
#5242ef Color on black background
This is how a font and box color of #5242ef hex color will look
on a black background.