In RGB color space, #5042c6 hex color has a red value of 80, a green value of 66 and a blue value of 198.
In CMYK color space (used in color printing), #5042c6 hex color is composed of 59.6% cyan, 66.67% magenta, 0% yellow and 22.35% black.
#5042c6 color has a hue of 246.4 degrees, a saturation of 53.66% and a lightness of 51.8%.
#5042c6 hex color contains mainly BLUE.
The closest web safe color of #5042c6 is #6633cc
#5042c6 hex color has a decimal value of 5259974.
HEX | 5042c6 | #5042c6 |
---|---|---|
RGB | 80, 66, 198 | rgb(80, 66, 198) |
RGB Percent | 31.37, 25.88, 77.65 | rgb(31.37, 25.88, 77.65) |
CMYK | 60, 67, 0, 22 | |
HSL | 246.4°, 53.66, 51.8 | hsl(246.4, 53.66%, 51.8%) |
HSV | 246.4°, 66.7, 77.6 |
XYZ | 15.45, 9.679, 54.48 |
---|---|
Hunter Lab | 31.111, 34.2, -82.048 |
CIE-LAB | 37.26, 43.308, -66.95 |
CIE-LCH | 37.26, 79.736, 302.898 |
CIE-LUV | 59.6, 66.67, 0, 22.35 |
Web Safe | 6633cc |
RGB percent of color #5042c6
CMYK percent of color #5042c6
Text with hexadecimal color #5042c6
This text has a font color of #5042c6
<p style="color:#5042c6">Text here</p>
#5042c6 Background Color
This box has a background color of #5042c6
<div style="background-color:#5042c6">Text here</div>
#5042c6 Border Color
This box has a border color of #5042c6
<div style="border: 4px solid #5042c6">Text here</div>
CSS codes
<p style="color:#5042c6">Text here</p>
<div style="background-color:#5042c6">Text here</div>
<div style="border: 4px solid #5042c6">Text here</div>
#5042c6 Color on white background
This is how a font and box color of #5042c6 will look
on a white background.
#5042c6 Color on black background
This is how a font and box color of #5042c6 hex color will look
on a black background.