In RGB color space, #512162 hex color has a red value of 81, a green value of 33 and a blue value of 98.
In CMYK color space (used in color printing), #512162 hex color is composed of 17.35% cyan, 66.33% magenta, 0% yellow and 61.57% black.
#512162 color has a hue of 284.3 degrees, a saturation of 49.62% and a lightness of 25.7%.
#512162 hex color contains mainly BLUE.
The closest web safe color of #512162 is #663366
#512162 hex color has a decimal value of 5316962.
HEX | 512162 | #512162 |
---|---|---|
RGB | 81, 33, 98 | rgb(81, 33, 98) |
RGB Percent | 31.76, 12.94, 38.43 | rgb(31.76, 12.94, 38.43) |
CMYK | 17, 66, 0, 62 | |
HSL | 284.3°, 49.62, 25.7 | hsl(284.3, 49.62%, 25.7%) |
HSV | 284.3°, 66.3, 38.4 |
XYZ | 6.142, 3.719, 11.949 |
---|---|
Hunter Lab | 19.285, 23.102, -23.237 |
CIE-LAB | 22.72, 33.749, -28.995 |
CIE-LCH | 22.72, 44.494, 319.333 |
CIE-LUV | 17.35, 66.33, 0, 61.57 |
Web Safe | 663366 |
RGB percent of color #512162
CMYK percent of color #512162
Text with hexadecimal color #512162
This text has a font color of #512162
<p style="color:#512162">Text here</p>
#512162 Background Color
This box has a background color of #512162
<div style="background-color:#512162">Text here</div>
#512162 Border Color
This box has a border color of #512162
<div style="border: 4px solid #512162">Text here</div>
CSS codes
<p style="color:#512162">Text here</p>
<div style="background-color:#512162">Text here</div>
<div style="border: 4px solid #512162">Text here</div>
#512162 Color on white background
This is how a font and box color of #512162 will look
on a white background.
#512162 Color on black background
This is how a font and box color of #512162 hex color will look
on a black background.