In RGB color space, #512151 hex color has a red value of 81, a green value of 33 and a blue value of 81.
In CMYK color space (used in color printing), #512151 hex color is composed of 0% cyan, 59.26% magenta, 0% yellow and 68.24% black.
#512151 color has a hue of 300 degrees, a saturation of 42.11% and a lightness of 22.4%.
#512151 hex color contains mainly RED.
The closest web safe color of #512151 is #663366
#512151 hex color has a decimal value of 5316945.
HEX | 512151 | #512151 |
---|---|---|
RGB | 81, 33, 81 | rgb(81, 33, 81) |
RGB Percent | 31.76, 12.94, 31.76 | rgb(31.76, 12.94, 31.76) |
CMYK | 0, 59, 0, 68 | |
HSL | 300°, 42.11, 22.4 | hsl(300, 42.11%, 22.4%) |
HSV | 300°, 59.3, 31.8 |
XYZ | 5.422, 3.431, 8.161 |
---|---|
Hunter Lab | 18.523, 19.835, -13.156 |
CIE-LAB | 21.693, 30.005, -19.337 |
CIE-LCH | 21.693, 35.696, 327.2 |
CIE-LUV | 0, 59.26, 0, 68.24 |
Web Safe | 663366 |
RGB percent of color #512151
CMYK percent of color #512151
Text with hexadecimal color #512151
This text has a font color of #512151
<p style="color:#512151">Text here</p>
#512151 Background Color
This box has a background color of #512151
<div style="background-color:#512151">Text here</div>
#512151 Border Color
This box has a border color of #512151
<div style="border: 4px solid #512151">Text here</div>
CSS codes
<p style="color:#512151">Text here</p>
<div style="background-color:#512151">Text here</div>
<div style="border: 4px solid #512151">Text here</div>
#512151 Color on white background
This is how a font and box color of #512151 will look
on a white background.
#512151 Color on black background
This is how a font and box color of #512151 hex color will look
on a black background.