In RGB color space, #510098 hex color has a red value of 81, a green value of 0 and a blue value of 152.
In CMYK color space (used in color printing), #510098 hex color is composed of 46.71% cyan, 100% magenta, 0% yellow and 40.39% black.
#510098 color has a hue of 272 degrees, a saturation of 100% and a lightness of 29.8%.
#510098 hex color contains mainly BLUE.
The closest web safe color of #510098 is #660099
#510098 hex color has a decimal value of 5308568.
HEX | 510098 | #510098 |
---|---|---|
RGB | 81, 0, 152 | rgb(81, 0, 152) |
RGB Percent | 31.76, 0, 59.61 | rgb(31.76, 0, 59.61) |
CMYK | 47, 100, 0, 40 | |
HSL | 272°, 100, 29.8 | hsl(272, 100%, 29.8%) |
HSV | 272°, 100, 59.6 |
XYZ | 9.061, 4.016, 30.003 |
---|---|
Hunter Lab | 20.04, 45.638, -74.739 |
CIE-LAB | 23.724, 57.185, -61.656 |
CIE-LCH | 23.724, 84.093, 312.845 |
CIE-LUV | 46.71, 100, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #510098
CMYK percent of color #510098
Text with hexadecimal color #510098
This text has a font color of #510098
<p style="color:#510098">Text here</p>
#510098 Background Color
This box has a background color of #510098
<div style="background-color:#510098">Text here</div>
#510098 Border Color
This box has a border color of #510098
<div style="border: 4px solid #510098">Text here</div>
CSS codes
<p style="color:#510098">Text here</p>
<div style="background-color:#510098">Text here</div>
<div style="border: 4px solid #510098">Text here</div>
#510098 Color on white background
This is how a font and box color of #510098 will look
on a white background.
#510098 Color on black background
This is how a font and box color of #510098 hex color will look
on a black background.