In RGB color space, #5123a2 hex color has a red value of 81, a green value of 35 and a blue value of 162.
In CMYK color space (used in color printing), #5123a2 hex color is composed of 50% cyan, 78.4% magenta, 0% yellow and 36.47% black.
#5123a2 color has a hue of 261.7 degrees, a saturation of 64.47% and a lightness of 38.6%.
#5123a2 hex color contains mainly BLUE.
The closest web safe color of #5123a2 is #663399
#5123a2 hex color has a decimal value of 5317538.
HEX | 5123a2 | #5123a2 |
---|---|---|
RGB | 81, 35, 162 | rgb(81, 35, 162) |
RGB Percent | 31.76, 13.73, 63.53 | rgb(31.76, 13.73, 63.53) |
CMYK | 50, 78, 0, 36 | |
HSL | 261.7°, 64.47, 38.6 | hsl(261.7, 64.47%, 38.6%) |
HSV | 261.7°, 78.4, 63.5 |
XYZ | 10.516, 5.56, 34.701 |
---|---|
Hunter Lab | 23.58, 38.343, -70.748 |
CIE-LAB | 28.274, 49.198, -60.278 |
CIE-LCH | 28.274, 77.807, 309.221 |
CIE-LUV | 50, 78.4, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #5123a2
CMYK percent of color #5123a2
Text with hexadecimal color #5123a2
This text has a font color of #5123a2
<p style="color:#5123a2">Text here</p>
#5123a2 Background Color
This box has a background color of #5123a2
<div style="background-color:#5123a2">Text here</div>
#5123a2 Border Color
This box has a border color of #5123a2
<div style="border: 4px solid #5123a2">Text here</div>
CSS codes
<p style="color:#5123a2">Text here</p>
<div style="background-color:#5123a2">Text here</div>
<div style="border: 4px solid #5123a2">Text here</div>
#5123a2 Color on white background
This is how a font and box color of #5123a2 will look
on a white background.
#5123a2 Color on black background
This is how a font and box color of #5123a2 hex color will look
on a black background.