In RGB color space, #5151c5 hex color has a red value of 81, a green value of 81 and a blue value of 197.
In CMYK color space (used in color printing), #5151c5 hex color is composed of 58.88% cyan, 58.88% magenta, 0% yellow and 22.75% black.
#5151c5 color has a hue of 240 degrees, a saturation of 50% and a lightness of 54.5%.
#5151c5 hex color contains mainly BLUE.
The closest web safe color of #5151c5 is #6666cc
#5151c5 hex color has a decimal value of 5329349.
HEX | 5151c5 | #5151c5 |
---|---|---|
RGB | 81, 81, 197 | rgb(81, 81, 197) |
RGB Percent | 31.76, 31.76, 77.25 | rgb(31.76, 31.76, 77.25) |
CMYK | 59, 59, 0, 23 | |
HSL | 240°, 50, 54.5 | hsl(240, 50%, 54.5%) |
HSV | 240°, 58.9, 77.3 |
XYZ | 16.414, 11.665, 54.21 |
---|---|
Hunter Lab | 34.154, 26.015, -70.198 |
CIE-LAB | 40.679, 34.134, -60.793 |
CIE-LCH | 40.679, 69.72, 299.313 |
CIE-LUV | 58.88, 58.88, 0, 22.75 |
Web Safe | 6666cc |
RGB percent of color #5151c5
CMYK percent of color #5151c5
Text with hexadecimal color #5151c5
This text has a font color of #5151c5
<p style="color:#5151c5">Text here</p>
#5151c5 Background Color
This box has a background color of #5151c5
<div style="background-color:#5151c5">Text here</div>
#5151c5 Border Color
This box has a border color of #5151c5
<div style="border: 4px solid #5151c5">Text here</div>
CSS codes
<p style="color:#5151c5">Text here</p>
<div style="background-color:#5151c5">Text here</div>
<div style="border: 4px solid #5151c5">Text here</div>
#5151c5 Color on white background
This is how a font and box color of #5151c5 will look
on a white background.
#5151c5 Color on black background
This is how a font and box color of #5151c5 hex color will look
on a black background.