In RGB color space, #5122d4 hex color has a red value of 81, a green value of 34 and a blue value of 212.
In CMYK color space (used in color printing), #5122d4 hex color is composed of 61.79% cyan, 83.96% magenta, 0% yellow and 16.86% black.
#5122d4 color has a hue of 255.8 degrees, a saturation of 72.36% and a lightness of 48.2%.
#5122d4 hex color contains mainly BLUE.
The closest web safe color of #5122d4 is #6633cc
#5122d4 hex color has a decimal value of 5317332.
HEX | 5122d4 | #5122d4 |
---|---|---|
RGB | 81, 34, 212 | rgb(81, 34, 212) |
RGB Percent | 31.76, 13.33, 83.14 | rgb(31.76, 13.33, 83.14) |
CMYK | 62, 84, 0, 17 | |
HSL | 255.8°, 72.36, 48.2 | hsl(255.8, 72.36%, 48.2%) |
HSV | 255.8°, 84, 83.1 |
XYZ | 15.849, 7.647, 62.928 |
---|---|
Hunter Lab | 27.653, 53.911, -115.564 |
CIE-LAB | 33.237, 62.979, -81.703 |
CIE-LCH | 33.237, 103.159, 307.626 |
CIE-LUV | 61.79, 83.96, 0, 16.86 |
Web Safe | 6633cc |
RGB percent of color #5122d4
CMYK percent of color #5122d4
Text with hexadecimal color #5122d4
This text has a font color of #5122d4
<p style="color:#5122d4">Text here</p>
#5122d4 Background Color
This box has a background color of #5122d4
<div style="background-color:#5122d4">Text here</div>
#5122d4 Border Color
This box has a border color of #5122d4
<div style="border: 4px solid #5122d4">Text here</div>
CSS codes
<p style="color:#5122d4">Text here</p>
<div style="background-color:#5122d4">Text here</div>
<div style="border: 4px solid #5122d4">Text here</div>
#5122d4 Color on white background
This is how a font and box color of #5122d4 will look
on a white background.
#5122d4 Color on black background
This is how a font and box color of #5122d4 hex color will look
on a black background.