In RGB color space, #512828 hex color has a red value of 81, a green value of 40 and a blue value of 40.
In CMYK color space (used in color printing), #512828 hex color is composed of 0% cyan, 50.62% magenta, 50.62% yellow and 68.24% black.
#512828 color has a hue of 0 degrees, a saturation of 33.88% and a lightness of 23.7%.
#512828 hex color contains mainly RED.
The closest web safe color of #512828 is #663333
#512828 hex color has a decimal value of 5318696.
HEX | 512828 | #512828 |
---|---|---|
RGB | 81, 40, 40 | rgb(81, 40, 40) |
RGB Percent | 31.76, 15.69, 15.69 | rgb(31.76, 15.69, 15.69) |
CMYK | 0, 51, 51, 68 | |
HSL | 0°, 33.88, 23.7 | hsl(0, 33.88%, 23.7%) |
HSV | 0°, 50.6, 31.8 |
XYZ | 4.535, 3.42, 2.429 |
---|---|
Hunter Lab | 18.493, 11.409, 5.158 |
CIE-LAB | 21.653, 19.052, 8.618 |
CIE-LCH | 21.653, 20.91, 24.339 |
CIE-LUV | 0, 50.62, 50.62, 68.24 |
Web Safe | 663333 |
RGB percent of color #512828
CMYK percent of color #512828
Text with hexadecimal color #512828
This text has a font color of #512828
<p style="color:#512828">Text here</p>
#512828 Background Color
This box has a background color of #512828
<div style="background-color:#512828">Text here</div>
#512828 Border Color
This box has a border color of #512828
<div style="border: 4px solid #512828">Text here</div>
CSS codes
<p style="color:#512828">Text here</p>
<div style="background-color:#512828">Text here</div>
<div style="border: 4px solid #512828">Text here</div>
#512828 Color on white background
This is how a font and box color of #512828 will look
on a white background.
#512828 Color on black background
This is how a font and box color of #512828 hex color will look
on a black background.