In RGB color space, #51128c hex color has a red value of 81, a green value of 18 and a blue value of 140.
In CMYK color space (used in color printing), #51128c hex color is composed of 42.14% cyan, 87.14% magenta, 0% yellow and 45.1% black.
#51128c color has a hue of 271 degrees, a saturation of 77.22% and a lightness of 31%.
#51128c hex color contains mainly BLUE.
The closest web safe color of #51128c is #660099
#51128c hex color has a decimal value of 5313164.
HEX | 51128c | #51128c |
---|---|---|
RGB | 81, 18, 140 | rgb(81, 18, 140) |
RGB Percent | 31.76, 7.06, 54.9 | rgb(31.76, 7.06, 54.9) |
CMYK | 42, 87, 0, 45 | |
HSL | 271°, 77.22, 31 | hsl(271, 77.22%, 31%) |
HSV | 271°, 87.1, 54.9 |
XYZ | 8.343, 4.075, 25.158 |
---|---|
Hunter Lab | 20.187, 38.446, -59.761 |
CIE-LAB | 23.918, 50.151, -53.902 |
CIE-LCH | 23.918, 73.624, 312.935 |
CIE-LUV | 42.14, 87.14, 0, 45.1 |
Web Safe | 660099 |
RGB percent of color #51128c
CMYK percent of color #51128c
Text with hexadecimal color #51128c
This text has a font color of #51128c
<p style="color:#51128c">Text here</p>
#51128c Background Color
This box has a background color of #51128c
<div style="background-color:#51128c">Text here</div>
#51128c Border Color
This box has a border color of #51128c
<div style="border: 4px solid #51128c">Text here</div>
CSS codes
<p style="color:#51128c">Text here</p>
<div style="background-color:#51128c">Text here</div>
<div style="border: 4px solid #51128c">Text here</div>
#51128c Color on white background
This is how a font and box color of #51128c will look
on a white background.
#51128c Color on black background
This is how a font and box color of #51128c hex color will look
on a black background.