In RGB color space, #5122ff hex color has a red value of 81, a green value of 34 and a blue value of 255.
In CMYK color space (used in color printing), #5122ff hex color is composed of 68.24% cyan, 86.67% magenta, 0% yellow and 0% black.
#5122ff color has a hue of 252.8 degrees, a saturation of 100% and a lightness of 56.7%.
#5122ff hex color contains mainly BLUE.
The closest web safe color of #5122ff is #6633ff
#5122ff hex color has a decimal value of 5317375.
HEX | 5122ff | #5122ff |
---|---|---|
RGB | 81, 34, 255 | rgb(81, 34, 255) |
RGB Percent | 31.76, 13.33, 100 | rgb(31.76, 13.33, 100) |
CMYK | 68, 87, 0, 0 | |
HSL | 252.8°, 100, 56.7 | hsl(252.8, 100%, 56.7%) |
HSV | 252.8°, 86.7, 100 |
XYZ | 22.015, 10.113, 95.399 |
---|---|
Hunter Lab | 31.801, 67.919, -155.602 |
CIE-LAB | 38.044, 74.115, -98.198 |
CIE-LCH | 38.044, 123.028, 307.044 |
CIE-LUV | 68.24, 86.67, 0, 0 |
Web Safe | 6633ff |
RGB percent of color #5122ff
CMYK percent of color #5122ff
Text with hexadecimal color #5122ff
This text has a font color of #5122ff
<p style="color:#5122ff">Text here</p>
#5122ff Background Color
This box has a background color of #5122ff
<div style="background-color:#5122ff">Text here</div>
#5122ff Border Color
This box has a border color of #5122ff
<div style="border: 4px solid #5122ff">Text here</div>
CSS codes
<p style="color:#5122ff">Text here</p>
<div style="background-color:#5122ff">Text here</div>
<div style="border: 4px solid #5122ff">Text here</div>
#5122ff Color on white background
This is how a font and box color of #5122ff will look
on a white background.
#5122ff Color on black background
This is how a font and box color of #5122ff hex color will look
on a black background.