In RGB color space, #512ac0 hex color has a red value of 81, a green value of 42 and a blue value of 192.
In CMYK color space (used in color printing), #512ac0 hex color is composed of 57.81% cyan, 78.13% magenta, 0% yellow and 24.71% black.
#512ac0 color has a hue of 255.6 degrees, a saturation of 64.1% and a lightness of 45.9%.
#512ac0 hex color contains mainly BLUE.
The closest web safe color of #512ac0 is #6633cc
#512ac0 hex color has a decimal value of 5319360.
HEX | 512ac0 | #512ac0 |
---|---|---|
RGB | 81, 42, 192 | rgb(81, 42, 192) |
RGB Percent | 31.76, 16.47, 75.29 | rgb(31.76, 16.47, 75.29) |
CMYK | 58, 78, 0, 25 | |
HSL | 255.6°, 64.1, 45.9 | hsl(255.6, 64.1%, 45.9%) |
HSV | 255.6°, 78.1, 75.3 |
XYZ | 13.736, 7.211, 50.537 |
---|---|
Hunter Lab | 26.853, 44.313, -92.784 |
CIE-LAB | 32.283, 54.274, -71.605 |
CIE-LCH | 32.283, 89.85, 307.161 |
CIE-LUV | 57.81, 78.13, 0, 24.71 |
Web Safe | 6633cc |
RGB percent of color #512ac0
CMYK percent of color #512ac0
Text with hexadecimal color #512ac0
This text has a font color of #512ac0
<p style="color:#512ac0">Text here</p>
#512ac0 Background Color
This box has a background color of #512ac0
<div style="background-color:#512ac0">Text here</div>
#512ac0 Border Color
This box has a border color of #512ac0
<div style="border: 4px solid #512ac0">Text here</div>
CSS codes
<p style="color:#512ac0">Text here</p>
<div style="background-color:#512ac0">Text here</div>
<div style="border: 4px solid #512ac0">Text here</div>
#512ac0 Color on white background
This is how a font and box color of #512ac0 will look
on a white background.
#512ac0 Color on black background
This is how a font and box color of #512ac0 hex color will look
on a black background.