In RGB color space, #5150c8 hex color has a red value of 81, a green value of 80 and a blue value of 200.
In CMYK color space (used in color printing), #5150c8 hex color is composed of 59.5% cyan, 60% magenta, 0% yellow and 21.57% black.
#5150c8 color has a hue of 240.5 degrees, a saturation of 52.17% and a lightness of 54.9%.
#5150c8 hex color contains mainly BLUE.
The closest web safe color of #5150c8 is #6666cc
#5150c8 hex color has a decimal value of 5329096.
HEX | 5150c8 | #5150c8 |
---|---|---|
RGB | 81, 80, 200 | rgb(81, 80, 200) |
RGB Percent | 31.76, 31.37, 78.43 | rgb(31.76, 31.37, 78.43) |
CMYK | 60, 60, 0, 22 | |
HSL | 240.5°, 52.17, 54.9 | hsl(240.5, 52.17%, 54.9%) |
HSV | 240.5°, 60, 78.4 |
XYZ | 16.687, 11.657, 56.014 |
---|---|
Hunter Lab | 34.142, 27.492, -73.372 |
CIE-LAB | 40.666, 35.725, -62.555 |
CIE-LCH | 40.666, 72.038, 299.731 |
CIE-LUV | 59.5, 60, 0, 21.57 |
Web Safe | 6666cc |
RGB percent of color #5150c8
CMYK percent of color #5150c8
Text with hexadecimal color #5150c8
This text has a font color of #5150c8
<p style="color:#5150c8">Text here</p>
#5150c8 Background Color
This box has a background color of #5150c8
<div style="background-color:#5150c8">Text here</div>
#5150c8 Border Color
This box has a border color of #5150c8
<div style="border: 4px solid #5150c8">Text here</div>
CSS codes
<p style="color:#5150c8">Text here</p>
<div style="background-color:#5150c8">Text here</div>
<div style="border: 4px solid #5150c8">Text here</div>
#5150c8 Color on white background
This is how a font and box color of #5150c8 will look
on a white background.
#5150c8 Color on black background
This is how a font and box color of #5150c8 hex color will look
on a black background.