In RGB color space, #511def hex color has a red value of 81, a green value of 29 and a blue value of 239.
In CMYK color space (used in color printing), #511def hex color is composed of 66.11% cyan, 87.87% magenta, 0% yellow and 6.27% black.
#511def color has a hue of 254.9 degrees, a saturation of 86.78% and a lightness of 52.5%.
#511def hex color contains mainly BLUE.
The closest web safe color of #511def is #6633ff
#511def hex color has a decimal value of 5316079.
HEX | 511def | #511def |
---|---|---|
RGB | 81, 29, 239 | rgb(81, 29, 239) |
RGB Percent | 31.76, 11.37, 93.73 | rgb(31.76, 11.37, 93.73) |
CMYK | 66, 88, 0, 6 | |
HSL | 254.9°, 86.78, 52.5 | hsl(254.9, 86.78%, 52.5%) |
HSV | 254.9°, 87.9, 93.7 |
XYZ | 19.413, 8.86, 82.348 |
---|---|
Hunter Lab | 29.766, 64.326, -143.192 |
CIE-LAB | 35.713, 71.554, -93.058 |
CIE-LCH | 35.713, 117.387, 307.557 |
CIE-LUV | 66.11, 87.87, 0, 6.27 |
Web Safe | 6633ff |
RGB percent of color #511def
CMYK percent of color #511def
Text with hexadecimal color #511def
This text has a font color of #511def
<p style="color:#511def">Text here</p>
#511def Background Color
This box has a background color of #511def
<div style="background-color:#511def">Text here</div>
#511def Border Color
This box has a border color of #511def
<div style="border: 4px solid #511def">Text here</div>
CSS codes
<p style="color:#511def">Text here</p>
<div style="background-color:#511def">Text here</div>
<div style="border: 4px solid #511def">Text here</div>
#511def Color on white background
This is how a font and box color of #511def will look
on a white background.
#511def Color on black background
This is how a font and box color of #511def hex color will look
on a black background.