HEX: #497F2A
RGB: (73,127,42)
#497F2A contains mainly red and green colors. Web safe color of #497F2A is #336633 (or #363).
#497F2A color RGB value is (73,127,42).
RGB: (73,127,42) (29%,50%,16%)
R 73 of 255 = 29%
G 127 of 255 = 50%
B 42 of 255 = 16%
R + G + B ~ 32%. #497F2A is quite dark color.
R + G + B =
73 + 127 + 42 = 242 (100%)
R 73 of 242 ~ 30.17%
G 127 of 242 ~ 52.48%
B 42 of 242 ~ 17.36%
#497F2A color CMYK value is (43,0,67,50).
CMYK: (43,0,67,50) C43M0Y67K50 (43%,0%,67%,50%) (0.43/0.00/0.67/0.50)
49 | 7F | 2A | |
---|---|---|---|
RGB | 73 | 127 | 42 |
HSL | 98° | 50.30% | 33.14% |
HSB/HSV | 98° | 66.93% | 49.80% |
CMYK | 42.52% | 0.00% | 66.93% |
50.20% |
HEX | 49 | 7F | 2A |
Decimal | 73 | 127 | 42 |
Binary | 1001001 | 1111111 | 101010 |
Octal | 111 | 177 | 52 |
Examples of css and html codes for elements with #497F2A color. Also use rgb(73,127,42) instead hex code.
.myTextColor { color: #497F2A; }
<p style="color:#497F2A">This sample text font color is #497F2A.</p>
This text font color is #497F2A.
.myBgColor { background-color: #497F2A; }
<div style="background-color:#497F2A">Inner text</div>
This div background color is #497F2A.
.myBorderColor { border: 1px solid #497F2A; }
<div style="border:3px solid #497F2A">Div</div>
This div border color is #497F2A.
.myOpacity80 { color: #497F2A; opacity: 0.8; }
<p style="color:#497F2A;opacity:0.8;">80%</p>
Text with #497F2A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #497F2A;}
<p style="text-shadow: 3px 3px 1px #497F2A">Text here.</p>
This text has shadow with #497F2A color.
.textShadow {text-shadow: 3px 3px 1px #497F2A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #497F2A, 5px 5px 20px red">Text here.</p>
This text has shadow with #497F2A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#497F2A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#497F2A, Direction=45, Strength=4)">Text</p>
This text has shadow with #497F2A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #497F2A; -webkit-box-shadow: 1px 1px 3px 2px #497F2A; box-shadow: 1px 1px 3px 2px #497F2A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #497F2A; -webkit-box-shadow: 1px 1px 3px 2px #497F2A; box-shadow:1px 1px 3px 2px #497F2A;">
Div content here</div>
This text has color #497F2A on black background.
This text has color #497F2A on white background.
This text has black color on #497F2A background.
This text has white color on #497F2A background.