In RGB color space, #51187e hex color has a red value of 81, a green value of 24 and a blue value of 126.
In CMYK color space (used in color printing), #51187e hex color is composed of 35.71% cyan, 80.95% magenta, 0% yellow and 50.59% black.
#51187e color has a hue of 273.5 degrees, a saturation of 68% and a lightness of 29.4%.
#51187e hex color contains mainly BLUE.
The closest web safe color of #51187e is #660066
#51187e hex color has a decimal value of 5314686.
HEX | 51187e | #51187e |
---|---|---|
RGB | 81, 24, 126 | rgb(81, 24, 126) |
RGB Percent | 31.76, 9.41, 49.41 | rgb(31.76, 9.41, 49.41) |
CMYK | 36, 81, 0, 51 | |
HSL | 273.5°, 68, 29.4 | hsl(273.5, 68%, 29.4%) |
HSV | 273.5°, 81, 49.4 |
XYZ | 7.486, 3.909, 20.099 |
---|---|
Hunter Lab | 19.771, 32.986, -46.433 |
CIE-LAB | 23.368, 44.635, -46 |
CIE-LCH | 23.368, 64.096, 314.137 |
CIE-LUV | 35.71, 80.95, 0, 50.59 |
Web Safe | 660066 |
RGB percent of color #51187e
CMYK percent of color #51187e
Text with hexadecimal color #51187e
This text has a font color of #51187e
<p style="color:#51187e">Text here</p>
#51187e Background Color
This box has a background color of #51187e
<div style="background-color:#51187e">Text here</div>
#51187e Border Color
This box has a border color of #51187e
<div style="border: 4px solid #51187e">Text here</div>
CSS codes
<p style="color:#51187e">Text here</p>
<div style="background-color:#51187e">Text here</div>
<div style="border: 4px solid #51187e">Text here</div>
#51187e Color on white background
This is how a font and box color of #51187e will look
on a white background.
#51187e Color on black background
This is how a font and box color of #51187e hex color will look
on a black background.