In RGB color space, #5151af hex color has a red value of 81, a green value of 81 and a blue value of 175.
In CMYK color space (used in color printing), #5151af hex color is composed of 53.71% cyan, 53.71% magenta, 0% yellow and 31.37% black.
#5151af color has a hue of 240 degrees, a saturation of 37.01% and a lightness of 50.2%.
#5151af hex color contains mainly BLUE.
The closest web safe color of #5151af is #666699
#5151af hex color has a decimal value of 5329327.
HEX | 5151af | #5151af |
---|---|---|
RGB | 81, 81, 175 | rgb(81, 81, 175) |
RGB Percent | 31.76, 31.76, 68.63 | rgb(31.76, 31.76, 68.63) |
CMYK | 54, 54, 0, 31 | |
HSL | 240°, 37.01, 50.2 | hsl(240, 37.01%, 50.2%) |
HSV | 240°, 53.7, 68.6 |
XYZ | 14.074, 10.729, 41.887 |
---|---|
Hunter Lab | 32.755, 19.375, -52.891 |
CIE-LAB | 39.12, 26.936, -50.423 |
CIE-LCH | 39.12, 57.167, 298.111 |
CIE-LUV | 53.71, 53.71, 0, 31.37 |
Web Safe | 666699 |
RGB percent of color #5151af
CMYK percent of color #5151af
Text with hexadecimal color #5151af
This text has a font color of #5151af
<p style="color:#5151af">Text here</p>
#5151af Background Color
This box has a background color of #5151af
<div style="background-color:#5151af">Text here</div>
#5151af Border Color
This box has a border color of #5151af
<div style="border: 4px solid #5151af">Text here</div>
CSS codes
<p style="color:#5151af">Text here</p>
<div style="background-color:#5151af">Text here</div>
<div style="border: 4px solid #5151af">Text here</div>
#5151af Color on white background
This is how a font and box color of #5151af will look
on a white background.
#5151af Color on black background
This is how a font and box color of #5151af hex color will look
on a black background.