In RGB color space, #512266 hex color has a red value of 81, a green value of 34 and a blue value of 102.
In CMYK color space (used in color printing), #512266 hex color is composed of 20.59% cyan, 66.67% magenta, 0% yellow and 60% black.
#512266 color has a hue of 281.5 degrees, a saturation of 50% and a lightness of 26.7%.
#512266 hex color contains mainly BLUE.
The closest web safe color of #512266 is #663366
#512266 hex color has a decimal value of 5317222.
HEX | 512266 | #512266 |
---|---|---|
RGB | 81, 34, 102 | rgb(81, 34, 102) |
RGB Percent | 31.76, 13.33, 40 | rgb(31.76, 13.33, 40) |
CMYK | 21, 67, 0, 60 | |
HSL | 281.5°, 50, 26.7 | hsl(281.5, 50%, 26.7%) |
HSV | 281.5°, 66.7, 40 |
XYZ | 6.364, 3.853, 12.979 |
---|---|
Hunter Lab | 19.629, 23.521, -25.463 |
CIE-LAB | 23.179, 34.157, -30.878 |
CIE-LCH | 23.179, 46.045, 317.886 |
CIE-LUV | 20.59, 66.67, 0, 60 |
Web Safe | 663366 |
RGB percent of color #512266
CMYK percent of color #512266
Text with hexadecimal color #512266
This text has a font color of #512266
<p style="color:#512266">Text here</p>
#512266 Background Color
This box has a background color of #512266
<div style="background-color:#512266">Text here</div>
#512266 Border Color
This box has a border color of #512266
<div style="border: 4px solid #512266">Text here</div>
CSS codes
<p style="color:#512266">Text here</p>
<div style="background-color:#512266">Text here</div>
<div style="border: 4px solid #512266">Text here</div>
#512266 Color on white background
This is how a font and box color of #512266 will look
on a white background.
#512266 Color on black background
This is how a font and box color of #512266 hex color will look
on a black background.