In RGB color space, #5125b2 hex color has a red value of 81, a green value of 37 and a blue value of 178.
In CMYK color space (used in color printing), #5125b2 hex color is composed of 54.49% cyan, 79.21% magenta, 0% yellow and 30.2% black.
#5125b2 color has a hue of 258.7 degrees, a saturation of 65.58% and a lightness of 42.2%.
#5125b2 hex color contains mainly BLUE.
The closest web safe color of #5125b2 is #663399
#5125b2 hex color has a decimal value of 5318066.
HEX | 5125b2 | #5125b2 |
---|---|---|
RGB | 81, 37, 178 | rgb(81, 37, 178) |
RGB Percent | 31.76, 14.51, 69.8 | rgb(31.76, 14.51, 69.8) |
CMYK | 54, 79, 0, 30 | |
HSL | 258.7°, 65.58, 42.2 | hsl(258.7, 65.58%, 42.2%) |
HSV | 258.7°, 79.2, 69.8 |
XYZ | 12.091, 6.287, 42.696 |
---|---|
Hunter Lab | 25.074, 42.196, -83.408 |
CIE-LAB | 30.125, 52.649, -66.862 |
CIE-LCH | 30.125, 85.103, 308.218 |
CIE-LUV | 54.49, 79.21, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #5125b2
CMYK percent of color #5125b2
Text with hexadecimal color #5125b2
This text has a font color of #5125b2
<p style="color:#5125b2">Text here</p>
#5125b2 Background Color
This box has a background color of #5125b2
<div style="background-color:#5125b2">Text here</div>
#5125b2 Border Color
This box has a border color of #5125b2
<div style="border: 4px solid #5125b2">Text here</div>
CSS codes
<p style="color:#5125b2">Text here</p>
<div style="background-color:#5125b2">Text here</div>
<div style="border: 4px solid #5125b2">Text here</div>
#5125b2 Color on white background
This is how a font and box color of #5125b2 will look
on a white background.
#5125b2 Color on black background
This is how a font and box color of #5125b2 hex color will look
on a black background.