In RGB color space, #51021c hex color has a red value of 81, a green value of 2 and a blue value of 28.
In CMYK color space (used in color printing), #51021c hex color is composed of 0% cyan, 97.53% magenta, 65.43% yellow and 68.24% black.
#51021c color has a hue of 340.3 degrees, a saturation of 95.18% and a lightness of 16.3%.
#51021c hex color contains mainly RED.
The closest web safe color of #51021c is #660033
#51021c hex color has a decimal value of 5308956.
HEX | 51021c | #51021c |
---|---|---|
RGB | 81, 2, 28 | rgb(81, 2, 28) |
RGB Percent | 31.76, 0.78, 10.98 | rgb(31.76, 0.78, 10.98) |
CMYK | 0, 98, 65, 68 | |
HSL | 340.3°, 95.18, 16.3 | hsl(340.3, 95.18%, 16.3%) |
HSV | 340.3°, 97.5, 31.8 |
XYZ | 3.625, 1.877, 1.27 |
---|---|
Hunter Lab | 13.7, 23.254, 4.094 |
CIE-LAB | 14.828, 35.424, 7.795 |
CIE-LCH | 14.828, 36.272, 12.41 |
CIE-LUV | 0, 97.53, 65.43, 68.24 |
Web Safe | 660033 |
RGB percent of color #51021c
CMYK percent of color #51021c
Text with hexadecimal color #51021c
This text has a font color of #51021c
<p style="color:#51021c">Text here</p>
#51021c Background Color
This box has a background color of #51021c
<div style="background-color:#51021c">Text here</div>
#51021c Border Color
This box has a border color of #51021c
<div style="border: 4px solid #51021c">Text here</div>
CSS codes
<p style="color:#51021c">Text here</p>
<div style="background-color:#51021c">Text here</div>
<div style="border: 4px solid #51021c">Text here</div>
#51021c Color on white background
This is how a font and box color of #51021c will look
on a white background.
#51021c Color on black background
This is how a font and box color of #51021c hex color will look
on a black background.