In RGB color space, #512142 hex color has a red value of 81, a green value of 33 and a blue value of 66.
In CMYK color space (used in color printing), #512142 hex color is composed of 0% cyan, 59.26% magenta, 18.52% yellow and 68.24% black.
#512142 color has a hue of 318.8 degrees, a saturation of 42.11% and a lightness of 22.4%.
#512142 hex color contains mainly RED.
The closest web safe color of #512142 is #663333
#512142 hex color has a decimal value of 5316930.
HEX | 512142 | #512142 |
---|---|---|
RGB | 81, 33, 66 | rgb(81, 33, 66) |
RGB Percent | 31.76, 12.94, 25.88 | rgb(31.76, 12.94, 25.88) |
CMYK | 0, 59, 19, 68 | |
HSL | 318.8°, 42.11, 22.4 | hsl(318.8, 42.11%, 22.4%) |
HSV | 318.8°, 59.3, 31.8 |
XYZ | 4.921, 3.23, 5.518 |
---|---|
Hunter Lab | 17.972, 17.424, -5.623 |
CIE-LAB | 20.942, 27.121, -10.318 |
CIE-LCH | 20.942, 29.017, 339.171 |
CIE-LUV | 0, 59.26, 18.52, 68.24 |
Web Safe | 663333 |
RGB percent of color #512142
CMYK percent of color #512142
Text with hexadecimal color #512142
This text has a font color of #512142
<p style="color:#512142">Text here</p>
#512142 Background Color
This box has a background color of #512142
<div style="background-color:#512142">Text here</div>
#512142 Border Color
This box has a border color of #512142
<div style="border: 4px solid #512142">Text here</div>
CSS codes
<p style="color:#512142">Text here</p>
<div style="background-color:#512142">Text here</div>
<div style="border: 4px solid #512142">Text here</div>
#512142 Color on white background
This is how a font and box color of #512142 will look
on a white background.
#512142 Color on black background
This is how a font and box color of #512142 hex color will look
on a black background.