In RGB color space, #2a5140 hex color has a red value of 42, a green value of 81 and a blue value of 64.
In CMYK color space (used in color printing), #2a5140 hex color is composed of 48.15% cyan, 0% magenta, 20.99% yellow and 68.24% black.
#2a5140 color has a hue of 153.8 degrees, a saturation of 31.71% and a lightness of 24.1%.
#2a5140 hex color contains mainly GREEN.
The closest web safe color of #2a5140 is #336633
#2a5140 hex color has a decimal value of 2773312.
HEX | 2a5140 | #2a5140 |
---|---|---|
RGB | 42, 81, 64 | rgb(42, 81, 64) |
RGB Percent | 16.47, 31.76, 25.1 | rgb(16.47, 31.76, 25.1) |
CMYK | 48, 0, 21, 68 | |
HSL | 153.8°, 31.71, 24.1 | hsl(153.8, 31.71%, 24.1%) |
HSV | 153.8°, 48.1, 31.8 |
XYZ | 4.823, 6.747, 5.899 |
---|---|
Hunter Lab | 25.975, -12.313, 4.718 |
CIE-LAB | 31.224, -18.441, 5.742 |
CIE-LCH | 31.224, 19.314, 162.705 |
CIE-LUV | 48.15, 0, 20.99, 68.24 |
Web Safe | 336633 |
RGB percent of color #2a5140
CMYK percent of color #2a5140
Text with hexadecimal color #2a5140
This text has a font color of #2a5140
<p style="color:#2a5140">Text here</p>
#2a5140 Background Color
This box has a background color of #2a5140
<div style="background-color:#2a5140">Text here</div>
#2a5140 Border Color
This box has a border color of #2a5140
<div style="border: 4px solid #2a5140">Text here</div>
CSS codes
<p style="color:#2a5140">Text here</p>
<div style="background-color:#2a5140">Text here</div>
<div style="border: 4px solid #2a5140">Text here</div>
#2a5140 Color on white background
This is how a font and box color of #2a5140 will look
on a white background.
#2a5140 Color on black background
This is how a font and box color of #2a5140 hex color will look
on a black background.