In RGB color space, #512fb5 hex color has a red value of 81, a green value of 47 and a blue value of 181.
In CMYK color space (used in color printing), #512fb5 hex color is composed of 55.25% cyan, 74.03% magenta, 0% yellow and 29.02% black.
#512fb5 color has a hue of 255.2 degrees, a saturation of 58.77% and a lightness of 44.7%.
#512fb5 hex color contains mainly BLUE.
The closest web safe color of #512fb5 is #6633cc
#512fb5 hex color has a decimal value of 5320629.
HEX | 512fb5 | #512fb5 |
---|---|---|
RGB | 81, 47, 181 | rgb(81, 47, 181) |
RGB Percent | 31.76, 18.43, 70.98 | rgb(31.76, 18.43, 70.98) |
CMYK | 55, 74, 0, 29 | |
HSL | 255.2°, 58.77, 44.7 | hsl(255.2, 58.77%, 44.7%) |
HSV | 255.2°, 74, 71 |
XYZ | 12.75, 7.119, 44.418 |
---|---|
Hunter Lab | 26.681, 38.605, -80.026 |
CIE-LAB | 32.076, 48.728, -65.44 |
CIE-LCH | 32.076, 81.589, 306.672 |
CIE-LUV | 55.25, 74.03, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #512fb5
CMYK percent of color #512fb5
Text with hexadecimal color #512fb5
This text has a font color of #512fb5
<p style="color:#512fb5">Text here</p>
#512fb5 Background Color
This box has a background color of #512fb5
<div style="background-color:#512fb5">Text here</div>
#512fb5 Border Color
This box has a border color of #512fb5
<div style="border: 4px solid #512fb5">Text here</div>
CSS codes
<p style="color:#512fb5">Text here</p>
<div style="background-color:#512fb5">Text here</div>
<div style="border: 4px solid #512fb5">Text here</div>
#512fb5 Color on white background
This is how a font and box color of #512fb5 will look
on a white background.
#512fb5 Color on black background
This is how a font and box color of #512fb5 hex color will look
on a black background.