HEX: #74917B
RGB: (116,145,123)
#74917B contains red, green and blue colors in about the same proportion. Web safe color of #74917B is #669966 (or #696).
#74917B color RGB value is (116,145,123).
RGB: (116,145,123) (45%,57%,48%)
R 116 of 255 = 45%
G 145 of 255 = 57%
B 123 of 255 = 48%
R + G + B ~ 50%. #74917B is middle color (not dark and not light).
R + G + B =
116 + 145 + 123 = 384 (100%)
R 116 of 384 ~ 30.21%
G 145 of 384 ~ 37.76%
B 123 of 384 ~ 32.03%
#74917B color CMYK value is (20,0,15,43).
CMYK: (20,0,15,43) C20M0Y15K43 (20%,0%,15%,43%) (0.20/0.00/0.15/0.43)
74 | 91 | 7B | |
---|---|---|---|
RGB | 116 | 145 | 123 |
HSL | 134° | 11.65% | 51.18% |
HSB/HSV | 134° | 20.00% | 56.86% |
CMYK | 20.00% | 0.00% | 15.17% |
43.14% |
HEX | 74 | 91 | 7B |
Decimal | 116 | 145 | 123 |
Binary | 1110100 | 10010001 | 1111011 |
Octal | 164 | 221 | 173 |
Examples of css and html codes for elements with #74917B color. Also use rgb(116,145,123) instead hex code.
.myTextColor { color: #74917B; }
<p style="color:#74917B">This sample text font color is #74917B.</p>
This text font color is #74917B.
.myBgColor { background-color: #74917B; }
<div style="background-color:#74917B">Inner text</div>
This div background color is #74917B.
.myBorderColor { border: 1px solid #74917B; }
<div style="border:3px solid #74917B">Div</div>
This div border color is #74917B.
.myOpacity80 { color: #74917B; opacity: 0.8; }
<p style="color:#74917B;opacity:0.8;">80%</p>
Text with #74917B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74917B;}
<p style="text-shadow: 3px 3px 1px #74917B">Text here.</p>
This text has shadow with #74917B color.
.textShadow {text-shadow: 3px 3px 1px #74917B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74917B, 5px 5px 20px red">Text here.</p>
This text has shadow with #74917B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74917B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74917B, Direction=45, Strength=4)">Text</p>
This text has shadow with #74917B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74917B; -webkit-box-shadow: 1px 1px 3px 2px #74917B; box-shadow: 1px 1px 3px 2px #74917B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74917B; -webkit-box-shadow: 1px 1px 3px 2px #74917B; box-shadow:1px 1px 3px 2px #74917B;">
Div content here</div>
This text has color #74917B on black background.
This text has color #74917B on white background.
This text has black color on #74917B background.
This text has white color on #74917B background.