In RGB color space, #5151ff hex color has a red value of 81, a green value of 81 and a blue value of 255.
In CMYK color space (used in color printing), #5151ff hex color is composed of 68.24% cyan, 68.24% magenta, 0% yellow and 0% black.
#5151ff color has a hue of 240 degrees, a saturation of 100% and a lightness of 65.9%.
#5151ff hex color contains mainly BLUE.
The closest web safe color of #5151ff is #6666ff
#5151ff hex color has a decimal value of 5329407.
HEX | 5151ff | #5151ff |
---|---|---|
RGB | 81, 81, 255 | rgb(81, 81, 255) |
RGB Percent | 31.76, 31.76, 100 | rgb(31.76, 31.76, 100) |
CMYK | 68, 68, 0, 0 | |
HSL | 240°, 100, 65.9 | hsl(240, 100%, 65.9%) |
HSV | 240°, 68.2, 100 |
XYZ | 24.386, 14.854, 96.19 |
---|---|
Hunter Lab | 38.541, 45.496, -120.997 |
CIE-LAB | 45.434, 52.915, -85.985 |
CIE-LCH | 45.434, 100.962, 301.608 |
CIE-LUV | 68.24, 68.24, 0, 0 |
Web Safe | 6666ff |
RGB percent of color #5151ff
CMYK percent of color #5151ff
Text with hexadecimal color #5151ff
This text has a font color of #5151ff
<p style="color:#5151ff">Text here</p>
#5151ff Background Color
This box has a background color of #5151ff
<div style="background-color:#5151ff">Text here</div>
#5151ff Border Color
This box has a border color of #5151ff
<div style="border: 4px solid #5151ff">Text here</div>
CSS codes
<p style="color:#5151ff">Text here</p>
<div style="background-color:#5151ff">Text here</div>
<div style="border: 4px solid #5151ff">Text here</div>
#5151ff Color on white background
This is how a font and box color of #5151ff will look
on a white background.
#5151ff Color on black background
This is how a font and box color of #5151ff hex color will look
on a black background.