In RGB color space, #5240c5 hex color has a red value of 82, a green value of 64 and a blue value of 197.
In CMYK color space (used in color printing), #5240c5 hex color is composed of 58.38% cyan, 67.51% magenta, 0% yellow and 22.75% black.
#5240c5 color has a hue of 248.1 degrees, a saturation of 53.41% and a lightness of 51.2%.
#5240c5 hex color contains mainly BLUE.
The closest web safe color of #5240c5 is #6633cc
#5240c5 hex color has a decimal value of 5390533.
HEX | 5240c5 | #5240c5 |
---|---|---|
RGB | 82, 64, 197 | rgb(82, 64, 197) |
RGB Percent | 32.16, 25.1, 77.25 | rgb(32.16, 25.1, 77.25) |
CMYK | 58, 68, 0, 23 | |
HSL | 248.1°, 53.41, 51.2 | hsl(248.1, 53.41%, 51.2%) |
HSV | 248.1°, 67.5, 77.3 |
XYZ | 15.391, 9.492, 53.844 |
---|---|
Hunter Lab | 30.809, 35.256, -82.053 |
CIE-LAB | 36.915, 44.448, -66.925 |
CIE-LCH | 36.915, 80.34, 303.59 |
CIE-LUV | 58.38, 67.51, 0, 22.75 |
Web Safe | 6633cc |
RGB percent of color #5240c5
CMYK percent of color #5240c5
Text with hexadecimal color #5240c5
This text has a font color of #5240c5
<p style="color:#5240c5">Text here</p>
#5240c5 Background Color
This box has a background color of #5240c5
<div style="background-color:#5240c5">Text here</div>
#5240c5 Border Color
This box has a border color of #5240c5
<div style="border: 4px solid #5240c5">Text here</div>
CSS codes
<p style="color:#5240c5">Text here</p>
<div style="background-color:#5240c5">Text here</div>
<div style="border: 4px solid #5240c5">Text here</div>
#5240c5 Color on white background
This is how a font and box color of #5240c5 will look
on a white background.
#5240c5 Color on black background
This is how a font and box color of #5240c5 hex color will look
on a black background.