In RGB color space, #510cb8 hex color has a red value of 81, a green value of 12 and a blue value of 184.
In CMYK color space (used in color printing), #510cb8 hex color is composed of 55.98% cyan, 93.48% magenta, 0% yellow and 27.84% black.
#510cb8 color has a hue of 264.1 degrees, a saturation of 87.76% and a lightness of 38.4%.
#510cb8 hex color contains mainly BLUE.
The closest web safe color of #510cb8 is #6600cc
#510cb8 hex color has a decimal value of 5311672.
HEX | 510cb8 | #510cb8 |
---|---|---|
RGB | 81, 12, 184 | rgb(81, 12, 184) |
RGB Percent | 31.76, 4.71, 72.16 | rgb(31.76, 4.71, 72.16) |
CMYK | 56, 93, 0, 28 | |
HSL | 264.1°, 87.76, 38.4 | hsl(264.1, 87.76%, 38.4%) |
HSV | 264.1°, 93.5, 72.2 |
XYZ | 12.177, 5.473, 45.762 |
---|---|
Hunter Lab | 23.394, 51.97, -99.601 |
CIE-LAB | 28.042, 62.224, -73.877 |
CIE-LCH | 28.042, 96.59, 310.106 |
CIE-LUV | 55.98, 93.48, 0, 27.84 |
Web Safe | 6600cc |
RGB percent of color #510cb8
CMYK percent of color #510cb8
Text with hexadecimal color #510cb8
This text has a font color of #510cb8
<p style="color:#510cb8">Text here</p>
#510cb8 Background Color
This box has a background color of #510cb8
<div style="background-color:#510cb8">Text here</div>
#510cb8 Border Color
This box has a border color of #510cb8
<div style="border: 4px solid #510cb8">Text here</div>
CSS codes
<p style="color:#510cb8">Text here</p>
<div style="background-color:#510cb8">Text here</div>
<div style="border: 4px solid #510cb8">Text here</div>
#510cb8 Color on white background
This is how a font and box color of #510cb8 will look
on a white background.
#510cb8 Color on black background
This is how a font and box color of #510cb8 hex color will look
on a black background.