In RGB color space, #512fb2 hex color has a red value of 81, a green value of 47 and a blue value of 178.
In CMYK color space (used in color printing), #512fb2 hex color is composed of 54.49% cyan, 73.6% magenta, 0% yellow and 30.2% black.
#512fb2 color has a hue of 255.6 degrees, a saturation of 58.22% and a lightness of 44.1%.
#512fb2 hex color contains mainly BLUE.
The closest web safe color of #512fb2 is #663399
#512fb2 hex color has a decimal value of 5320626.
HEX | 512fb2 | #512fb2 |
---|---|---|
RGB | 81, 47, 178 | rgb(81, 47, 178) |
RGB Percent | 31.76, 18.43, 69.8 | rgb(31.76, 18.43, 69.8) |
CMYK | 54, 74, 0, 30 | |
HSL | 255.6°, 58.22, 44.1 | hsl(255.6, 58.22%, 44.1%) |
HSV | 255.6°, 73.6, 69.8 |
XYZ | 12.446, 6.997, 42.814 |
---|---|
Hunter Lab | 26.452, 37.696, -77.448 |
CIE-LAB | 31.8, 47.868, -64.109 |
CIE-LCH | 31.8, 80.008, 306.747 |
CIE-LUV | 54.49, 73.6, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #512fb2
CMYK percent of color #512fb2
Text with hexadecimal color #512fb2
This text has a font color of #512fb2
<p style="color:#512fb2">Text here</p>
#512fb2 Background Color
This box has a background color of #512fb2
<div style="background-color:#512fb2">Text here</div>
#512fb2 Border Color
This box has a border color of #512fb2
<div style="border: 4px solid #512fb2">Text here</div>
CSS codes
<p style="color:#512fb2">Text here</p>
<div style="background-color:#512fb2">Text here</div>
<div style="border: 4px solid #512fb2">Text here</div>
#512fb2 Color on white background
This is how a font and box color of #512fb2 will look
on a white background.
#512fb2 Color on black background
This is how a font and box color of #512fb2 hex color will look
on a black background.