In RGB color space, #5122f2 hex color has a red value of 81, a green value of 34 and a blue value of 242.
In CMYK color space (used in color printing), #5122f2 hex color is composed of 66.53% cyan, 85.95% magenta, 0% yellow and 5.1% black.
#5122f2 color has a hue of 253.6 degrees, a saturation of 88.89% and a lightness of 54.1%.
#5122f2 hex color contains mainly BLUE.
The closest web safe color of #5122f2 is #6633ff
#5122f2 hex color has a decimal value of 5317362.
HEX | 5122f2 | #5122f2 |
---|---|---|
RGB | 81, 34, 242 | rgb(81, 34, 242) |
RGB Percent | 31.76, 13.33, 94.9 | rgb(31.76, 13.33, 94.9) |
CMYK | 67, 86, 0, 5 | |
HSL | 253.6°, 88.89, 54.1 | hsl(253.6, 88.89%, 54.1%) |
HSV | 253.6°, 86, 94.9 |
XYZ | 19.992, 9.304, 84.747 |
---|---|
Hunter Lab | 30.502, 63.614, -143.378 |
CIE-LAB | 36.563, 70.79, -93.346 |
CIE-LCH | 36.563, 117.152, 307.175 |
CIE-LUV | 66.53, 85.95, 0, 5.1 |
Web Safe | 6633ff |
RGB percent of color #5122f2
CMYK percent of color #5122f2
Text with hexadecimal color #5122f2
This text has a font color of #5122f2
<p style="color:#5122f2">Text here</p>
#5122f2 Background Color
This box has a background color of #5122f2
<div style="background-color:#5122f2">Text here</div>
#5122f2 Border Color
This box has a border color of #5122f2
<div style="border: 4px solid #5122f2">Text here</div>
CSS codes
<p style="color:#5122f2">Text here</p>
<div style="background-color:#5122f2">Text here</div>
<div style="border: 4px solid #5122f2">Text here</div>
#5122f2 Color on white background
This is how a font and box color of #5122f2 will look
on a white background.
#5122f2 Color on black background
This is how a font and box color of #5122f2 hex color will look
on a black background.