In RGB color space, #5122d2 hex color has a red value of 81, a green value of 34 and a blue value of 210.
In CMYK color space (used in color printing), #5122d2 hex color is composed of 61.43% cyan, 83.81% magenta, 0% yellow and 17.65% black.
#5122d2 color has a hue of 256 degrees, a saturation of 72.13% and a lightness of 47.8%.
#5122d2 hex color contains mainly BLUE.
The closest web safe color of #5122d2 is #6633cc
#5122d2 hex color has a decimal value of 5317330.
HEX | 5122d2 | #5122d2 |
---|---|---|
RGB | 81, 34, 210 | rgb(81, 34, 210) |
RGB Percent | 31.76, 13.33, 82.35 | rgb(31.76, 13.33, 82.35) |
CMYK | 61, 84, 0, 18 | |
HSL | 256°, 72.13, 47.8 | hsl(256, 72.13%, 47.8%) |
HSV | 256°, 83.8, 82.4 |
XYZ | 15.598, 7.547, 61.607 |
---|---|
Hunter Lab | 27.472, 53.273, -113.731 |
CIE-LAB | 33.021, 62.448, -80.9 |
CIE-LCH | 33.021, 102.199, 307.665 |
CIE-LUV | 61.43, 83.81, 0, 17.65 |
Web Safe | 6633cc |
RGB percent of color #5122d2
CMYK percent of color #5122d2
Text with hexadecimal color #5122d2
This text has a font color of #5122d2
<p style="color:#5122d2">Text here</p>
#5122d2 Background Color
This box has a background color of #5122d2
<div style="background-color:#5122d2">Text here</div>
#5122d2 Border Color
This box has a border color of #5122d2
<div style="border: 4px solid #5122d2">Text here</div>
CSS codes
<p style="color:#5122d2">Text here</p>
<div style="background-color:#5122d2">Text here</div>
<div style="border: 4px solid #5122d2">Text here</div>
#5122d2 Color on white background
This is how a font and box color of #5122d2 will look
on a white background.
#5122d2 Color on black background
This is how a font and box color of #5122d2 hex color will look
on a black background.