In RGB color space, #5040c0 hex color has a red value of 80, a green value of 64 and a blue value of 192.
In CMYK color space (used in color printing), #5040c0 hex color is composed of 58.33% cyan, 66.67% magenta, 0% yellow and 24.71% black.
#5040c0 color has a hue of 247.5 degrees, a saturation of 50.39% and a lightness of 50.2%.
#5040c0 hex color contains mainly BLUE.
The closest web safe color of #5040c0 is #6633cc
#5040c0 hex color has a decimal value of 5259456.
HEX | 5040c0 | #5040c0 |
---|---|---|
RGB | 80, 64, 192 | rgb(80, 64, 192) |
RGB Percent | 31.37, 25.1, 75.29 | rgb(31.37, 25.1, 75.29) |
CMYK | 58, 67, 0, 25 | |
HSL | 247.5°, 50.39, 50.2 | hsl(247.5, 50.39%, 50.2%) |
HSV | 247.5°, 66.7, 75.3 |
XYZ | 14.656, 9.178, 50.868 |
---|---|
Hunter Lab | 30.295, 33.337, -78.346 |
CIE-LAB | 36.325, 42.582, -64.973 |
CIE-LCH | 36.325, 77.683, 303.24 |
CIE-LUV | 58.33, 66.67, 0, 24.71 |
Web Safe | 6633cc |
RGB percent of color #5040c0
CMYK percent of color #5040c0
Text with hexadecimal color #5040c0
This text has a font color of #5040c0
<p style="color:#5040c0">Text here</p>
#5040c0 Background Color
This box has a background color of #5040c0
<div style="background-color:#5040c0">Text here</div>
#5040c0 Border Color
This box has a border color of #5040c0
<div style="border: 4px solid #5040c0">Text here</div>
CSS codes
<p style="color:#5040c0">Text here</p>
<div style="background-color:#5040c0">Text here</div>
<div style="border: 4px solid #5040c0">Text here</div>
#5040c0 Color on white background
This is how a font and box color of #5040c0 will look
on a white background.
#5040c0 Color on black background
This is how a font and box color of #5040c0 hex color will look
on a black background.