In RGB color space, #502840 hex color has a red value of 80, a green value of 40 and a blue value of 64.
In CMYK color space (used in color printing), #502840 hex color is composed of 0% cyan, 50% magenta, 20% yellow and 68.63% black.
#502840 color has a hue of 324 degrees, a saturation of 33.33% and a lightness of 23.5%.
#502840 hex color contains mainly RED.
The closest web safe color of #502840 is #663333
#502840 hex color has a decimal value of 5253184.
HEX | 502840 | #502840 |
---|---|---|
RGB | 80, 40, 64 | rgb(80, 40, 64) |
RGB Percent | 31.37, 15.69, 25.1 | rgb(31.37, 15.69, 25.1) |
CMYK | 0, 50, 20, 69 | |
HSL | 324°, 33.33, 23.5 | hsl(324, 33.33%, 23.5%) |
HSV | 324°, 50, 31.4 |
XYZ | 4.992, 3.593, 5.281 |
---|---|
Hunter Lab | 18.955, 13.838, -3.25 |
CIE-LAB | 22.278, 22.258, -6.941 |
CIE-LCH | 22.278, 23.315, 342.68 |
CIE-LUV | 0, 50, 20, 68.63 |
Web Safe | 663333 |
RGB percent of color #502840
CMYK percent of color #502840
Text with hexadecimal color #502840
This text has a font color of #502840
<p style="color:#502840">Text here</p>
#502840 Background Color
This box has a background color of #502840
<div style="background-color:#502840">Text here</div>
#502840 Border Color
This box has a border color of #502840
<div style="border: 4px solid #502840">Text here</div>
CSS codes
<p style="color:#502840">Text here</p>
<div style="background-color:#502840">Text here</div>
<div style="border: 4px solid #502840">Text here</div>
#502840 Color on white background
This is how a font and box color of #502840 will look
on a white background.
#502840 Color on black background
This is how a font and box color of #502840 hex color will look
on a black background.