HEX: #96AF5F
RGB: (150,175,95)
#96AF5F contains mainly red and green colors. Web safe color of #96AF5F is #999966 (or #996).
#96AF5F color RGB value is (150,175,95).
RGB: (150,175,95) (59%,69%,37%)
R 150 of 255 = 59%
G 175 of 255 = 69%
B 95 of 255 = 37%
R + G + B ~ 55%. #96AF5F is middle color (not dark and not light).
R + G + B =
150 + 175 + 95 = 420 (100%)
R 150 of 420 ~ 35.71%
G 175 of 420 ~ 41.67%
B 95 of 420 ~ 22.62%
#96AF5F color CMYK value is (14,0,46,31).
CMYK: (14,0,46,31) C14M0Y46K31 (14%,0%,46%,31%) (0.14/0.00/0.46/0.31)
96 | AF | 5F | |
---|---|---|---|
RGB | 150 | 175 | 95 |
HSL | 79° | 33.33% | 52.94% |
HSB/HSV | 79° | 45.71% | 68.63% |
CMYK | 14.29% | 0.00% | 45.71% |
31.37% |
HEX | 96 | AF | 5F |
Decimal | 150 | 175 | 95 |
Binary | 10010110 | 10101111 | 1011111 |
Octal | 226 | 257 | 137 |
Examples of css and html codes for elements with #96AF5F color. Also use rgb(150,175,95) instead hex code.
.myTextColor { color: #96AF5F; }
<p style="color:#96AF5F">This sample text font color is #96AF5F.</p>
This text font color is #96AF5F.
.myBgColor { background-color: #96AF5F; }
<div style="background-color:#96AF5F">Inner text</div>
This div background color is #96AF5F.
.myBorderColor { border: 1px solid #96AF5F; }
<div style="border:3px solid #96AF5F">Div</div>
This div border color is #96AF5F.
.myOpacity80 { color: #96AF5F; opacity: 0.8; }
<p style="color:#96AF5F;opacity:0.8;">80%</p>
Text with #96AF5F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #96AF5F;}
<p style="text-shadow: 3px 3px 1px #96AF5F">Text here.</p>
This text has shadow with #96AF5F color.
.textShadow {text-shadow: 3px 3px 1px #96AF5F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #96AF5F, 5px 5px 20px red">Text here.</p>
This text has shadow with #96AF5F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#96AF5F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#96AF5F, Direction=45, Strength=4)">Text</p>
This text has shadow with #96AF5F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #96AF5F; -webkit-box-shadow: 1px 1px 3px 2px #96AF5F; box-shadow: 1px 1px 3px 2px #96AF5F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #96AF5F; -webkit-box-shadow: 1px 1px 3px 2px #96AF5F; box-shadow:1px 1px 3px 2px #96AF5F;">
Div content here</div>
This text has color #96AF5F on black background.
This text has color #96AF5F on white background.
This text has black color on #96AF5F background.
This text has white color on #96AF5F background.