In RGB color space, #5126e2 hex color has a red value of 81, a green value of 38 and a blue value of 226.
In CMYK color space (used in color printing), #5126e2 hex color is composed of 64.16% cyan, 83.19% magenta, 0% yellow and 11.37% black.
#5126e2 color has a hue of 253.7 degrees, a saturation of 76.42% and a lightness of 51.8%.
#5126e2 hex color contains mainly BLUE.
The closest web safe color of #5126e2 is #6633cc
#5126e2 hex color has a decimal value of 5318370.
HEX | 5126e2 | #5126e2 |
---|---|---|
RGB | 81, 38, 226 | rgb(81, 38, 226) |
RGB Percent | 31.76, 14.9, 88.63 | rgb(31.76, 14.9, 88.63) |
CMYK | 64, 83, 0, 11 | |
HSL | 253.7°, 76.42, 51.8 | hsl(253.7, 76.42%, 51.8%) |
HSV | 253.7°, 83.2, 88.6 |
XYZ | 17.814, 8.627, 72.678 |
---|---|
Hunter Lab | 29.372, 56.86, -126.148 |
CIE-LAB | 35.256, 65.208, -86.415 |
CIE-LCH | 35.256, 108.257, 307.038 |
CIE-LUV | 64.16, 83.19, 0, 11.37 |
Web Safe | 6633cc |
RGB percent of color #5126e2
CMYK percent of color #5126e2
Text with hexadecimal color #5126e2
This text has a font color of #5126e2
<p style="color:#5126e2">Text here</p>
#5126e2 Background Color
This box has a background color of #5126e2
<div style="background-color:#5126e2">Text here</div>
#5126e2 Border Color
This box has a border color of #5126e2
<div style="border: 4px solid #5126e2">Text here</div>
CSS codes
<p style="color:#5126e2">Text here</p>
<div style="background-color:#5126e2">Text here</div>
<div style="border: 4px solid #5126e2">Text here</div>
#5126e2 Color on white background
This is how a font and box color of #5126e2 will look
on a white background.
#5126e2 Color on black background
This is how a font and box color of #5126e2 hex color will look
on a black background.