In RGB color space, #5040d6 hex color has a red value of 80, a green value of 64 and a blue value of 214.
In CMYK color space (used in color printing), #5040d6 hex color is composed of 62.62% cyan, 70.09% magenta, 0% yellow and 16.08% black.
#5040d6 color has a hue of 246.4 degrees, a saturation of 64.66% and a lightness of 54.5%.
#5040d6 hex color contains mainly BLUE.
The closest web safe color of #5040d6 is #6633cc
#5040d6 hex color has a decimal value of 5259478.
HEX | 5040d6 | #5040d6 |
---|---|---|
RGB | 80, 64, 214 | rgb(80, 64, 214) |
RGB Percent | 31.37, 25.1, 83.92 | rgb(31.37, 25.1, 83.92) |
CMYK | 63, 70, 0, 16 | |
HSL | 246.4°, 64.66, 54.5 | hsl(246.4, 64.66%, 54.5%) |
HSV | 246.4°, 70.1, 83.9 |
XYZ | 17.279, 10.227, 64.682 |
---|---|
Hunter Lab | 31.98, 40.481, -97.534 |
CIE-LAB | 38.247, 49.423, -74.598 |
CIE-LCH | 38.247, 89.485, 303.525 |
CIE-LUV | 62.62, 70.09, 0, 16.08 |
Web Safe | 6633cc |
RGB percent of color #5040d6
CMYK percent of color #5040d6
Text with hexadecimal color #5040d6
This text has a font color of #5040d6
<p style="color:#5040d6">Text here</p>
#5040d6 Background Color
This box has a background color of #5040d6
<div style="background-color:#5040d6">Text here</div>
#5040d6 Border Color
This box has a border color of #5040d6
<div style="border: 4px solid #5040d6">Text here</div>
CSS codes
<p style="color:#5040d6">Text here</p>
<div style="background-color:#5040d6">Text here</div>
<div style="border: 4px solid #5040d6">Text here</div>
#5040d6 Color on white background
This is how a font and box color of #5040d6 will look
on a white background.
#5040d6 Color on black background
This is how a font and box color of #5040d6 hex color will look
on a black background.