HEX: #747F31
RGB: (116,127,49)
#747F31 contains mainly red and green colors. Web safe color of #747F31 is #666633 (or #663).
#747F31 color RGB value is (116,127,49).
RGB: (116,127,49) (45%,50%,19%)
R 116 of 255 = 45%
G 127 of 255 = 50%
B 49 of 255 = 19%
R + G + B ~ 38%. #747F31 is quite dark color.
R + G + B =
116 + 127 + 49 = 292 (100%)
R 116 of 292 ~ 39.73%
G 127 of 292 ~ 43.49%
B 49 of 292 ~ 16.78%
#747F31 color CMYK value is (9,0,61,50).
CMYK: (9,0,61,50) C9M0Y61K50 (9%,0%,61%,50%) (0.09/0.00/0.61/0.50)
74 | 7F | 31 | |
---|---|---|---|
RGB | 116 | 127 | 49 |
HSL | 68° | 44.32% | 34.51% |
HSB/HSV | 68° | 61.42% | 49.80% |
CMYK | 8.66% | 0.00% | 61.42% |
50.20% |
HEX | 74 | 7F | 31 |
Decimal | 116 | 127 | 49 |
Binary | 1110100 | 1111111 | 110001 |
Octal | 164 | 177 | 61 |
Examples of css and html codes for elements with #747F31 color. Also use rgb(116,127,49) instead hex code.
.myTextColor { color: #747F31; }
<p style="color:#747F31">This sample text font color is #747F31.</p>
This text font color is #747F31.
.myBgColor { background-color: #747F31; }
<div style="background-color:#747F31">Inner text</div>
This div background color is #747F31.
.myBorderColor { border: 1px solid #747F31; }
<div style="border:3px solid #747F31">Div</div>
This div border color is #747F31.
.myOpacity80 { color: #747F31; opacity: 0.8; }
<p style="color:#747F31;opacity:0.8;">80%</p>
Text with #747F31 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #747F31;}
<p style="text-shadow: 3px 3px 1px #747F31">Text here.</p>
This text has shadow with #747F31 color.
.textShadow {text-shadow: 3px 3px 1px #747F31, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #747F31, 5px 5px 20px red">Text here.</p>
This text has shadow with #747F31 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#747F31, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#747F31, Direction=45, Strength=4)">Text</p>
This text has shadow with #747F31 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #747F31; -webkit-box-shadow: 1px 1px 3px 2px #747F31; box-shadow: 1px 1px 3px 2px #747F31; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #747F31; -webkit-box-shadow: 1px 1px 3px 2px #747F31; box-shadow:1px 1px 3px 2px #747F31;">
Div content here</div>
This text has color #747F31 on black background.
This text has color #747F31 on white background.
This text has black color on #747F31 background.
This text has white color on #747F31 background.