In RGB color space, #2a5142 hex color has a red value of 42, a green value of 81 and a blue value of 66.
In CMYK color space (used in color printing), #2a5142 hex color is composed of 48.15% cyan, 0% magenta, 18.52% yellow and 68.24% black.
#2a5142 color has a hue of 156.9 degrees, a saturation of 31.71% and a lightness of 24.1%.
#2a5142 hex color contains mainly GREEN.
The closest web safe color of #2a5142 is #336633
#2a5142 hex color has a decimal value of 2773314.
HEX | 2a5142 | #2a5142 |
---|---|---|
RGB | 42, 81, 66 | rgb(42, 81, 66) |
RGB Percent | 16.47, 31.76, 25.88 | rgb(16.47, 31.76, 25.88) |
CMYK | 48, 0, 19, 68 | |
HSL | 156.9°, 31.71, 24.1 | hsl(156.9, 31.71%, 24.1%) |
HSV | 156.9°, 48.1, 31.8 |
XYZ | 4.881, 6.77, 6.204 |
---|---|
Hunter Lab | 26.019, -12.048, 4.076 |
CIE-LAB | 31.277, -17.933, 4.552 |
CIE-LCH | 31.277, 18.502, 165.757 |
CIE-LUV | 48.15, 0, 18.52, 68.24 |
Web Safe | 336633 |
RGB percent of color #2a5142
CMYK percent of color #2a5142
Text with hexadecimal color #2a5142
This text has a font color of #2a5142
<p style="color:#2a5142">Text here</p>
#2a5142 Background Color
This box has a background color of #2a5142
<div style="background-color:#2a5142">Text here</div>
#2a5142 Border Color
This box has a border color of #2a5142
<div style="border: 4px solid #2a5142">Text here</div>
CSS codes
<p style="color:#2a5142">Text here</p>
<div style="background-color:#2a5142">Text here</div>
<div style="border: 4px solid #2a5142">Text here</div>
#2a5142 Color on white background
This is how a font and box color of #2a5142 will look
on a white background.
#2a5142 Color on black background
This is how a font and box color of #2a5142 hex color will look
on a black background.