In RGB color space, #5122d8 hex color has a red value of 81, a green value of 34 and a blue value of 216.
In CMYK color space (used in color printing), #5122d8 hex color is composed of 62.5% cyan, 84.26% magenta, 0% yellow and 15.29% black.
#5122d8 color has a hue of 255.5 degrees, a saturation of 72.8% and a lightness of 49%.
#5122d8 hex color contains mainly BLUE.
The closest web safe color of #5122d8 is #6633cc
#5122d8 hex color has a decimal value of 5317336.
HEX | 5122d8 | #5122d8 |
---|---|---|
RGB | 81, 34, 216 | rgb(81, 34, 216) |
RGB Percent | 31.76, 13.33, 84.71 | rgb(31.76, 13.33, 84.71) |
CMYK | 63, 84, 0, 15 | |
HSL | 255.5°, 72.8, 49 | hsl(255.5, 72.8%, 49%) |
HSV | 255.5°, 84.3, 84.7 |
XYZ | 16.36, 7.851, 65.619 |
---|---|
Hunter Lab | 28.02, 55.188, -119.237 |
CIE-LAB | 33.671, 64.035, -83.296 |
CIE-LCH | 33.671, 105.065, 307.552 |
CIE-LUV | 62.5, 84.26, 0, 15.29 |
Web Safe | 6633cc |
RGB percent of color #5122d8
CMYK percent of color #5122d8
Text with hexadecimal color #5122d8
This text has a font color of #5122d8
<p style="color:#5122d8">Text here</p>
#5122d8 Background Color
This box has a background color of #5122d8
<div style="background-color:#5122d8">Text here</div>
#5122d8 Border Color
This box has a border color of #5122d8
<div style="border: 4px solid #5122d8">Text here</div>
CSS codes
<p style="color:#5122d8">Text here</p>
<div style="background-color:#5122d8">Text here</div>
<div style="border: 4px solid #5122d8">Text here</div>
#5122d8 Color on white background
This is how a font and box color of #5122d8 will look
on a white background.
#5122d8 Color on black background
This is how a font and box color of #5122d8 hex color will look
on a black background.