In RGB color space, #512138 hex color has a red value of 81, a green value of 33 and a blue value of 56.
In CMYK color space (used in color printing), #512138 hex color is composed of 0% cyan, 59.26% magenta, 30.86% yellow and 68.24% black.
#512138 color has a hue of 331.3 degrees, a saturation of 42.11% and a lightness of 22.4%.
#512138 hex color contains mainly RED.
The closest web safe color of #512138 is #663333
#512138 hex color has a decimal value of 5316920.
HEX | 512138 | #512138 |
---|---|---|
RGB | 81, 33, 56 | rgb(81, 33, 56) |
RGB Percent | 31.76, 12.94, 21.96 | rgb(31.76, 12.94, 21.96) |
CMYK | 0, 59, 31, 68 | |
HSL | 331.3°, 42.11, 22.4 | hsl(331.3, 42.11%, 22.4%) |
HSV | 331.3°, 59.3, 31.8 |
XYZ | 4.651, 3.123, 4.099 |
---|---|
Hunter Lab | 17.672, 16.052, -1.382 |
CIE-LAB | 20.53, 25.426, -4.047 |
CIE-LCH | 20.53, 25.746, 350.956 |
CIE-LUV | 0, 59.26, 30.86, 68.24 |
Web Safe | 663333 |
RGB percent of color #512138
CMYK percent of color #512138
Text with hexadecimal color #512138
This text has a font color of #512138
<p style="color:#512138">Text here</p>
#512138 Background Color
This box has a background color of #512138
<div style="background-color:#512138">Text here</div>
#512138 Border Color
This box has a border color of #512138
<div style="border: 4px solid #512138">Text here</div>
CSS codes
<p style="color:#512138">Text here</p>
<div style="background-color:#512138">Text here</div>
<div style="border: 4px solid #512138">Text here</div>
#512138 Color on white background
This is how a font and box color of #512138 will look
on a white background.
#512138 Color on black background
This is how a font and box color of #512138 hex color will look
on a black background.