In RGB color space, #2a5840 hex color has a red value of 42, a green value of 88 and a blue value of 64.
In CMYK color space (used in color printing), #2a5840 hex color is composed of 52.27% cyan, 0% magenta, 27.27% yellow and 65.49% black.
#2a5840 color has a hue of 148.7 degrees, a saturation of 35.38% and a lightness of 25.5%.
#2a5840 hex color contains mainly GREEN.
The closest web safe color of #2a5840 is #336633
#2a5840 hex color has a decimal value of 2775104.
HEX | 2a5840 | #2a5840 |
---|---|---|
RGB | 42, 88, 64 | rgb(42, 88, 64) |
RGB Percent | 16.47, 34.51, 25.1 | rgb(16.47, 34.51, 25.1) |
CMYK | 52, 0, 27, 65 | |
HSL | 148.7°, 35.38, 25.5 | hsl(148.7, 35.38%, 25.5%) |
HSV | 148.7°, 52.3, 34.5 |
XYZ | 5.37, 7.842, 6.081 |
---|---|
Hunter Lab | 28.004, -14.777, 6.728 |
CIE-LAB | 33.652, -22.157, 9.158 |
CIE-LCH | 33.652, 23.975, 157.544 |
CIE-LUV | 52.27, 0, 27.27, 65.49 |
Web Safe | 336633 |
RGB percent of color #2a5840
CMYK percent of color #2a5840
Text with hexadecimal color #2a5840
This text has a font color of #2a5840
<p style="color:#2a5840">Text here</p>
#2a5840 Background Color
This box has a background color of #2a5840
<div style="background-color:#2a5840">Text here</div>
#2a5840 Border Color
This box has a border color of #2a5840
<div style="border: 4px solid #2a5840">Text here</div>
CSS codes
<p style="color:#2a5840">Text here</p>
<div style="background-color:#2a5840">Text here</div>
<div style="border: 4px solid #2a5840">Text here</div>
#2a5840 Color on white background
This is how a font and box color of #2a5840 will look
on a white background.
#2a5840 Color on black background
This is how a font and box color of #2a5840 hex color will look
on a black background.