In RGB color space, #5122b5 hex color has a red value of 81, a green value of 34 and a blue value of 181.
In CMYK color space (used in color printing), #5122b5 hex color is composed of 55.25% cyan, 81.22% magenta, 0% yellow and 29.02% black.
#5122b5 color has a hue of 259.2 degrees, a saturation of 68.37% and a lightness of 42.2%.
#5122b5 hex color contains mainly BLUE.
The closest web safe color of #5122b5 is #6633cc
#5122b5 hex color has a decimal value of 5317301.
HEX | 5122b5 | #5122b5 |
---|---|---|
RGB | 81, 34, 181 | rgb(81, 34, 181) |
RGB Percent | 31.76, 13.33, 70.98 | rgb(31.76, 13.33, 70.98) |
CMYK | 55, 81, 0, 29 | |
HSL | 259.2°, 68.37, 42.2 | hsl(259.2, 68.37%, 42.2%) |
HSV | 259.2°, 81.2, 71 |
XYZ | 12.306, 6.23, 44.27 |
---|---|
Hunter Lab | 24.96, 44.326, -87.687 |
CIE-LAB | 29.985, 54.734, -68.88 |
CIE-LCH | 29.985, 87.979, 308.472 |
CIE-LUV | 55.25, 81.22, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #5122b5
CMYK percent of color #5122b5
Text with hexadecimal color #5122b5
This text has a font color of #5122b5
<p style="color:#5122b5">Text here</p>
#5122b5 Background Color
This box has a background color of #5122b5
<div style="background-color:#5122b5">Text here</div>
#5122b5 Border Color
This box has a border color of #5122b5
<div style="border: 4px solid #5122b5">Text here</div>
CSS codes
<p style="color:#5122b5">Text here</p>
<div style="background-color:#5122b5">Text here</div>
<div style="border: 4px solid #5122b5">Text here</div>
#5122b5 Color on white background
This is how a font and box color of #5122b5 will look
on a white background.
#5122b5 Color on black background
This is how a font and box color of #5122b5 hex color will look
on a black background.