In RGB color space, #5151b0 hex color has a red value of 81, a green value of 81 and a blue value of 176.
In CMYK color space (used in color printing), #5151b0 hex color is composed of 53.98% cyan, 53.98% magenta, 0% yellow and 30.98% black.
#5151b0 color has a hue of 240 degrees, a saturation of 37.55% and a lightness of 50.4%.
#5151b0 hex color contains mainly BLUE.
The closest web safe color of #5151b0 is #666699
#5151b0 hex color has a decimal value of 5329328.
HEX | 5151b0 | #5151b0 |
---|---|---|
RGB | 81, 81, 176 | rgb(81, 81, 176) |
RGB Percent | 31.76, 31.76, 69.02 | rgb(31.76, 31.76, 69.02) |
CMYK | 54, 54, 0, 31 | |
HSL | 240°, 37.55, 50.4 | hsl(240, 37.55%, 50.4%) |
HSV | 240°, 54, 69 |
XYZ | 14.172, 10.769, 42.406 |
---|---|
Hunter Lab | 32.816, 19.659, -53.645 |
CIE-LAB | 39.189, 27.253, -50.903 |
CIE-LCH | 39.189, 57.739, 298.164 |
CIE-LUV | 53.98, 53.98, 0, 30.98 |
Web Safe | 666699 |
RGB percent of color #5151b0
CMYK percent of color #5151b0
Text with hexadecimal color #5151b0
This text has a font color of #5151b0
<p style="color:#5151b0">Text here</p>
#5151b0 Background Color
This box has a background color of #5151b0
<div style="background-color:#5151b0">Text here</div>
#5151b0 Border Color
This box has a border color of #5151b0
<div style="border: 4px solid #5151b0">Text here</div>
CSS codes
<p style="color:#5151b0">Text here</p>
<div style="background-color:#5151b0">Text here</div>
<div style="border: 4px solid #5151b0">Text here</div>
#5151b0 Color on white background
This is how a font and box color of #5151b0 will look
on a white background.
#5151b0 Color on black background
This is how a font and box color of #5151b0 hex color will look
on a black background.