HEX: #A6B072
RGB: (166,176,114)
#A6B072 contains mainly red and green colors. Web safe color of #A6B072 is #999966 (or #996).
#A6B072 color RGB value is (166,176,114).
RGB: (166,176,114) (65%,69%,45%)
R 166 of 255 = 65%
G 176 of 255 = 69%
B 114 of 255 = 45%
R + G + B ~ 60%. #A6B072 is middle color (not dark and not light).
R + G + B =
166 + 176 + 114 = 456 (100%)
R 166 of 456 ~ 36.4%
G 176 of 456 ~ 38.6%
B 114 of 456 ~ 25%
#A6B072 color CMYK value is (6,0,35,31).
CMYK: (6,0,35,31) C6M0Y35K31 (6%,0%,35%,31%) (0.06/0.00/0.35/0.31)
A6 | B0 | 72 | |
---|---|---|---|
RGB | 166 | 176 | 114 |
HSL | 70° | 28.18% | 56.86% |
HSB/HSV | 70° | 35.23% | 69.02% |
CMYK | 5.68% | 0.00% | 35.23% |
30.98% |
HEX | A6 | B0 | 72 |
Decimal | 166 | 176 | 114 |
Binary | 10100110 | 10110000 | 1110010 |
Octal | 246 | 260 | 162 |
Examples of css and html codes for elements with #A6B072 color. Also use rgb(166,176,114) instead hex code.
.myTextColor { color: #A6B072; }
<p style="color:#A6B072">This sample text font color is #A6B072.</p>
This text font color is #A6B072.
.myBgColor { background-color: #A6B072; }
<div style="background-color:#A6B072">Inner text</div>
This div background color is #A6B072.
.myBorderColor { border: 1px solid #A6B072; }
<div style="border:3px solid #A6B072">Div</div>
This div border color is #A6B072.
.myOpacity80 { color: #A6B072; opacity: 0.8; }
<p style="color:#A6B072;opacity:0.8;">80%</p>
Text with #A6B072 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6B072;}
<p style="text-shadow: 3px 3px 1px #A6B072">Text here.</p>
This text has shadow with #A6B072 color.
.textShadow {text-shadow: 3px 3px 1px #A6B072, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6B072, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6B072 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6B072, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6B072, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6B072 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6B072; -webkit-box-shadow: 1px 1px 3px 2px #A6B072; box-shadow: 1px 1px 3px 2px #A6B072; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6B072; -webkit-box-shadow: 1px 1px 3px 2px #A6B072; box-shadow:1px 1px 3px 2px #A6B072;">
Div content here</div>
This text has color #A6B072 on black background.
This text has color #A6B072 on white background.
This text has black color on #A6B072 background.
This text has white color on #A6B072 background.