HEX: #A6B36F
RGB: (166,179,111)
#A6B36F contains mainly red and green colors. Web safe color of #A6B36F is #999966 (or #996).
#A6B36F color RGB value is (166,179,111).
RGB: (166,179,111) (65%,70%,44%)
R 166 of 255 = 65%
G 179 of 255 = 70%
B 111 of 255 = 44%
R + G + B ~ 60%. #A6B36F is middle color (not dark and not light).
R + G + B =
166 + 179 + 111 = 456 (100%)
R 166 of 456 ~ 36.4%
G 179 of 456 ~ 39.25%
B 111 of 456 ~ 24.34%
#A6B36F color CMYK value is (7,0,38,30).
CMYK: (7,0,38,30) C7M0Y38K30 (7%,0%,38%,30%) (0.07/0.00/0.38/0.30)
A6 | B3 | 6F | |
---|---|---|---|
RGB | 166 | 179 | 111 |
HSL | 71° | 30.91% | 56.86% |
HSB/HSV | 71° | 37.99% | 70.20% |
CMYK | 7.26% | 0.00% | 37.99% |
29.80% |
HEX | A6 | B3 | 6F |
Decimal | 166 | 179 | 111 |
Binary | 10100110 | 10110011 | 1101111 |
Octal | 246 | 263 | 157 |
Examples of css and html codes for elements with #A6B36F color. Also use rgb(166,179,111) instead hex code.
.myTextColor { color: #A6B36F; }
<p style="color:#A6B36F">This sample text font color is #A6B36F.</p>
This text font color is #A6B36F.
.myBgColor { background-color: #A6B36F; }
<div style="background-color:#A6B36F">Inner text</div>
This div background color is #A6B36F.
.myBorderColor { border: 1px solid #A6B36F; }
<div style="border:3px solid #A6B36F">Div</div>
This div border color is #A6B36F.
.myOpacity80 { color: #A6B36F; opacity: 0.8; }
<p style="color:#A6B36F;opacity:0.8;">80%</p>
Text with #A6B36F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6B36F;}
<p style="text-shadow: 3px 3px 1px #A6B36F">Text here.</p>
This text has shadow with #A6B36F color.
.textShadow {text-shadow: 3px 3px 1px #A6B36F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6B36F, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6B36F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6B36F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6B36F, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6B36F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6B36F; -webkit-box-shadow: 1px 1px 3px 2px #A6B36F; box-shadow: 1px 1px 3px 2px #A6B36F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6B36F; -webkit-box-shadow: 1px 1px 3px 2px #A6B36F; box-shadow:1px 1px 3px 2px #A6B36F;">
Div content here</div>
This text has color #A6B36F on black background.
This text has color #A6B36F on white background.
This text has black color on #A6B36F background.
This text has white color on #A6B36F background.