In RGB color space, #5042a4 hex color has a red value of 80, a green value of 66 and a blue value of 164.
In CMYK color space (used in color printing), #5042a4 hex color is composed of 51.22% cyan, 59.76% magenta, 0% yellow and 35.69% black.
#5042a4 color has a hue of 248.6 degrees, a saturation of 42.61% and a lightness of 45.1%.
#5042a4 hex color contains mainly BLUE.
The closest web safe color of #5042a4 is #663399
#5042a4 hex color has a decimal value of 5259940.
HEX | 5042a4 | #5042a4 |
---|---|---|
RGB | 80, 66, 164 | rgb(80, 66, 164) |
RGB Percent | 31.37, 25.88, 64.31 | rgb(31.37, 25.88, 64.31) |
CMYK | 51, 60, 0, 36 | |
HSL | 248.6°, 42.61, 45.1 | hsl(248.6, 42.61%, 45.1%) |
HSV | 248.6°, 59.8, 64.3 |
XYZ | 11.957, 8.282, 36.09 |
---|---|
Hunter Lab | 28.778, 23.802, -54.208 |
CIE-LAB | 34.563, 32.587, -51.233 |
CIE-LCH | 34.563, 60.718, 302.459 |
CIE-LUV | 51.22, 59.76, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5042a4
CMYK percent of color #5042a4
Text with hexadecimal color #5042a4
This text has a font color of #5042a4
<p style="color:#5042a4">Text here</p>
#5042a4 Background Color
This box has a background color of #5042a4
<div style="background-color:#5042a4">Text here</div>
#5042a4 Border Color
This box has a border color of #5042a4
<div style="border: 4px solid #5042a4">Text here</div>
CSS codes
<p style="color:#5042a4">Text here</p>
<div style="background-color:#5042a4">Text here</div>
<div style="border: 4px solid #5042a4">Text here</div>
#5042a4 Color on white background
This is how a font and box color of #5042a4 will look
on a white background.
#5042a4 Color on black background
This is how a font and box color of #5042a4 hex color will look
on a black background.