In RGB color space, #5162a6 hex color has a red value of 81, a green value of 98 and a blue value of 166.
In CMYK color space (used in color printing), #5162a6 hex color is composed of 51.2% cyan, 40.96% magenta, 0% yellow and 34.9% black.
#5162a6 color has a hue of 228 degrees, a saturation of 34.41% and a lightness of 48.4%.
#5162a6 hex color contains mainly BLUE.
The closest web safe color of #5162a6 is #666699
#5162a6 hex color has a decimal value of 5333670.
HEX | 5162a6 | #5162a6 |
---|---|---|
RGB | 81, 98, 166 | rgb(81, 98, 166) |
RGB Percent | 31.76, 38.43, 65.1 | rgb(31.76, 38.43, 65.1) |
CMYK | 51, 41, 0, 35 | |
HSL | 228°, 34.41, 48.4 | hsl(228, 34.41%, 48.4%) |
HSV | 228°, 51.2, 65.1 |
XYZ | 14.644, 13.238, 37.86 |
---|---|
Hunter Lab | 36.384, 8.171, -36.226 |
CIE-LAB | 43.12, 13.22, -38.708 |
CIE-LCH | 43.12, 40.903, 288.857 |
CIE-LUV | 51.2, 40.96, 0, 34.9 |
Web Safe | 666699 |
RGB percent of color #5162a6
CMYK percent of color #5162a6
Text with hexadecimal color #5162a6
This text has a font color of #5162a6
<p style="color:#5162a6">Text here</p>
#5162a6 Background Color
This box has a background color of #5162a6
<div style="background-color:#5162a6">Text here</div>
#5162a6 Border Color
This box has a border color of #5162a6
<div style="border: 4px solid #5162a6">Text here</div>
CSS codes
<p style="color:#5162a6">Text here</p>
<div style="background-color:#5162a6">Text here</div>
<div style="border: 4px solid #5162a6">Text here</div>
#5162a6 Color on white background
This is how a font and box color of #5162a6 will look
on a white background.
#5162a6 Color on black background
This is how a font and box color of #5162a6 hex color will look
on a black background.