In RGB color space, #5240a6 hex color has a red value of 82, a green value of 64 and a blue value of 166.
In CMYK color space (used in color printing), #5240a6 hex color is composed of 50.6% cyan, 61.45% magenta, 0% yellow and 34.9% black.
#5240a6 color has a hue of 250.6 degrees, a saturation of 44.35% and a lightness of 45.1%.
#5240a6 hex color contains mainly BLUE.
The closest web safe color of #5240a6 is #663399
#5240a6 hex color has a decimal value of 5390502.
HEX | 5240a6 | #5240a6 |
---|---|---|
RGB | 82, 64, 166 | rgb(82, 64, 166) |
RGB Percent | 32.16, 25.1, 65.1 | rgb(32.16, 25.1, 65.1) |
CMYK | 51, 61, 0, 35 | |
HSL | 250.6°, 44.35, 45.1 | hsl(250.6, 44.35%, 45.1%) |
HSV | 250.6°, 61.4, 65.1 |
XYZ | 12.196, 8.214, 37.019 |
---|---|
Hunter Lab | 28.66, 25.804, -56.52 |
CIE-LAB | 34.425, 34.843, -52.65 |
CIE-LCH | 34.425, 63.135, 303.496 |
CIE-LUV | 50.6, 61.45, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #5240a6
CMYK percent of color #5240a6
Text with hexadecimal color #5240a6
This text has a font color of #5240a6
<p style="color:#5240a6">Text here</p>
#5240a6 Background Color
This box has a background color of #5240a6
<div style="background-color:#5240a6">Text here</div>
#5240a6 Border Color
This box has a border color of #5240a6
<div style="border: 4px solid #5240a6">Text here</div>
CSS codes
<p style="color:#5240a6">Text here</p>
<div style="background-color:#5240a6">Text here</div>
<div style="border: 4px solid #5240a6">Text here</div>
#5240a6 Color on white background
This is how a font and box color of #5240a6 will look
on a white background.
#5240a6 Color on black background
This is how a font and box color of #5240a6 hex color will look
on a black background.