In RGB color space, #512ab9 hex color has a red value of 81, a green value of 42 and a blue value of 185.
In CMYK color space (used in color printing), #512ab9 hex color is composed of 56.22% cyan, 77.3% magenta, 0% yellow and 27.45% black.
#512ab9 color has a hue of 256.4 degrees, a saturation of 63% and a lightness of 44.5%.
#512ab9 hex color contains mainly BLUE.
The closest web safe color of #512ab9 is #6633cc
#512ab9 hex color has a decimal value of 5319353.
HEX | 512ab9 | #512ab9 |
---|---|---|
RGB | 81, 42, 185 | rgb(81, 42, 185) |
RGB Percent | 31.76, 16.47, 72.55 | rgb(31.76, 16.47, 72.55) |
CMYK | 56, 77, 0, 27 | |
HSL | 256.4°, 63, 44.5 | hsl(256.4, 63%, 44.5%) |
HSV | 256.4°, 77.3, 72.5 |
XYZ | 12.978, 6.908, 46.548 |
---|---|
Hunter Lab | 26.283, 42.144, -86.606 |
CIE-LAB | 31.597, 52.312, -68.601 |
CIE-LCH | 31.597, 86.271, 307.327 |
CIE-LUV | 56.22, 77.3, 0, 27.45 |
Web Safe | 6633cc |
RGB percent of color #512ab9
CMYK percent of color #512ab9
Text with hexadecimal color #512ab9
This text has a font color of #512ab9
<p style="color:#512ab9">Text here</p>
#512ab9 Background Color
This box has a background color of #512ab9
<div style="background-color:#512ab9">Text here</div>
#512ab9 Border Color
This box has a border color of #512ab9
<div style="border: 4px solid #512ab9">Text here</div>
CSS codes
<p style="color:#512ab9">Text here</p>
<div style="background-color:#512ab9">Text here</div>
<div style="border: 4px solid #512ab9">Text here</div>
#512ab9 Color on white background
This is how a font and box color of #512ab9 will look
on a white background.
#512ab9 Color on black background
This is how a font and box color of #512ab9 hex color will look
on a black background.