In RGB color space, #5142a4 hex color has a red value of 81, a green value of 66 and a blue value of 164.
In CMYK color space (used in color printing), #5142a4 hex color is composed of 50.61% cyan, 59.76% magenta, 0% yellow and 35.69% black.
#5142a4 color has a hue of 249.2 degrees, a saturation of 42.61% and a lightness of 45.1%.
#5142a4 hex color contains mainly BLUE.
The closest web safe color of #5142a4 is #663399
#5142a4 hex color has a decimal value of 5325476.
HEX | 5142a4 | #5142a4 |
---|---|---|
RGB | 81, 66, 164 | rgb(81, 66, 164) |
RGB Percent | 31.76, 25.88, 64.31 | rgb(31.76, 25.88, 64.31) |
CMYK | 51, 60, 0, 36 | |
HSL | 249.2°, 42.61, 45.1 | hsl(249.2, 42.61%, 45.1%) |
HSV | 249.2°, 59.8, 64.3 |
XYZ | 12.042, 8.326, 36.094 |
---|---|
Hunter Lab | 28.855, 23.998, -53.967 |
CIE-LAB | 34.653, 32.794, -51.084 |
CIE-LCH | 34.653, 60.704, 302.699 |
CIE-LUV | 50.61, 59.76, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #5142a4
CMYK percent of color #5142a4
Text with hexadecimal color #5142a4
This text has a font color of #5142a4
<p style="color:#5142a4">Text here</p>
#5142a4 Background Color
This box has a background color of #5142a4
<div style="background-color:#5142a4">Text here</div>
#5142a4 Border Color
This box has a border color of #5142a4
<div style="border: 4px solid #5142a4">Text here</div>
CSS codes
<p style="color:#5142a4">Text here</p>
<div style="background-color:#5142a4">Text here</div>
<div style="border: 4px solid #5142a4">Text here</div>
#5142a4 Color on white background
This is how a font and box color of #5142a4 will look
on a white background.
#5142a4 Color on black background
This is how a font and box color of #5142a4 hex color will look
on a black background.