In RGB color space, #5042d1 hex color has a red value of 80, a green value of 66 and a blue value of 209.
In CMYK color space (used in color printing), #5042d1 hex color is composed of 61.72% cyan, 68.42% magenta, 0% yellow and 18.04% black.
#5042d1 color has a hue of 245.9 degrees, a saturation of 60.85% and a lightness of 53.9%.
#5042d1 hex color contains mainly BLUE.
The closest web safe color of #5042d1 is #6633cc
#5042d1 hex color has a decimal value of 5259985.
HEX | 5042d1 | #5042d1 |
---|---|---|
RGB | 80, 66, 209 | rgb(80, 66, 209) |
RGB Percent | 31.37, 25.88, 81.96 | rgb(31.37, 25.88, 81.96) |
CMYK | 62, 68, 0, 18 | |
HSL | 245.9°, 60.85, 53.9 | hsl(245.9, 60.85%, 53.9%) |
HSV | 245.9°, 68.4, 82 |
XYZ | 16.765, 10.205, 61.408 |
---|---|
Hunter Lab | 31.945, 37.773, -91.611 |
CIE-LAB | 38.208, 46.754, -71.779 |
CIE-LCH | 38.208, 85.663, 303.079 |
CIE-LUV | 61.72, 68.42, 0, 18.04 |
Web Safe | 6633cc |
RGB percent of color #5042d1
CMYK percent of color #5042d1
Text with hexadecimal color #5042d1
This text has a font color of #5042d1
<p style="color:#5042d1">Text here</p>
#5042d1 Background Color
This box has a background color of #5042d1
<div style="background-color:#5042d1">Text here</div>
#5042d1 Border Color
This box has a border color of #5042d1
<div style="border: 4px solid #5042d1">Text here</div>
CSS codes
<p style="color:#5042d1">Text here</p>
<div style="background-color:#5042d1">Text here</div>
<div style="border: 4px solid #5042d1">Text here</div>
#5042d1 Color on white background
This is how a font and box color of #5042d1 will look
on a white background.
#5042d1 Color on black background
This is how a font and box color of #5042d1 hex color will look
on a black background.