In RGB color space, #5142a2 hex color has a red value of 81, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #5142a2 hex color is composed of 50% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#5142a2 color has a hue of 249.4 degrees, a saturation of 42.11% and a lightness of 44.7%.
#5142a2 hex color contains mainly BLUE.
The closest web safe color of #5142a2 is #663399
#5142a2 hex color has a decimal value of 5325474.
HEX | 5142a2 | #5142a2 |
---|---|---|
RGB | 81, 66, 162 | rgb(81, 66, 162) |
RGB Percent | 31.76, 25.88, 63.53 | rgb(31.76, 25.88, 63.53) |
CMYK | 50, 59, 0, 36 | |
HSL | 249.4°, 42.11, 44.7 | hsl(249.4, 42.11%, 44.7%) |
HSV | 249.4°, 59.3, 63.5 |
XYZ | 11.863, 8.254, 35.15 |
---|---|
Hunter Lab | 28.73, 23.428, -52.429 |
CIE-LAB | 34.506, 32.175, -50.119 |
CIE-LCH | 34.506, 59.558, 302.699 |
CIE-LUV | 50, 59.26, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5142a2
CMYK percent of color #5142a2
Text with hexadecimal color #5142a2
This text has a font color of #5142a2
<p style="color:#5142a2">Text here</p>
#5142a2 Background Color
This box has a background color of #5142a2
<div style="background-color:#5142a2">Text here</div>
#5142a2 Border Color
This box has a border color of #5142a2
<div style="border: 4px solid #5142a2">Text here</div>
CSS codes
<p style="color:#5142a2">Text here</p>
<div style="background-color:#5142a2">Text here</div>
<div style="border: 4px solid #5142a2">Text here</div>
#5142a2 Color on white background
This is how a font and box color of #5142a2 will look
on a white background.
#5142a2 Color on black background
This is how a font and box color of #5142a2 hex color will look
on a black background.