In RGB color space, #512238 hex color has a red value of 81, a green value of 34 and a blue value of 56.
In CMYK color space (used in color printing), #512238 hex color is composed of 0% cyan, 58.02% magenta, 30.86% yellow and 68.24% black.
#512238 color has a hue of 331.9 degrees, a saturation of 40.87% and a lightness of 22.5%.
#512238 hex color contains mainly RED.
The closest web safe color of #512238 is #663333
#512238 hex color has a decimal value of 5317176.
HEX | 512238 | #512238 |
---|---|---|
RGB | 81, 34, 56 | rgb(81, 34, 56) |
RGB Percent | 31.76, 13.33, 21.96 | rgb(31.76, 13.33, 21.96) |
CMYK | 0, 58, 31, 68 | |
HSL | 331.9°, 40.87, 22.5 | hsl(331.9, 40.87%, 22.5%) |
HSV | 331.9°, 58, 31.8 |
XYZ | 4.679, 3.179, 4.108 |
---|---|
Hunter Lab | 17.83, 15.641, -1.18 |
CIE-LAB | 20.747, 24.857, -3.722 |
CIE-LCH | 20.747, 25.134, 351.484 |
CIE-LUV | 0, 58.02, 30.86, 68.24 |
Web Safe | 663333 |
RGB percent of color #512238
CMYK percent of color #512238
Text with hexadecimal color #512238
This text has a font color of #512238
<p style="color:#512238">Text here</p>
#512238 Background Color
This box has a background color of #512238
<div style="background-color:#512238">Text here</div>
#512238 Border Color
This box has a border color of #512238
<div style="border: 4px solid #512238">Text here</div>
CSS codes
<p style="color:#512238">Text here</p>
<div style="background-color:#512238">Text here</div>
<div style="border: 4px solid #512238">Text here</div>
#512238 Color on white background
This is how a font and box color of #512238 will look
on a white background.
#512238 Color on black background
This is how a font and box color of #512238 hex color will look
on a black background.