HEX: #A6B474
RGB: (166,180,116)
#A6B474 contains mainly red and green colors. Web safe color of #A6B474 is #99CC66 (or #9C6).
#A6B474 color RGB value is (166,180,116).
RGB: (166,180,116) (65%,71%,45%)
R 166 of 255 = 65%
G 180 of 255 = 71%
B 116 of 255 = 45%
R + G + B ~ 60%. #A6B474 is middle color (not dark and not light).
R + G + B =
166 + 180 + 116 = 462 (100%)
R 166 of 462 ~ 35.93%
G 180 of 462 ~ 38.96%
B 116 of 462 ~ 25.11%
#A6B474 color CMYK value is (8,0,36,29).
CMYK: (8,0,36,29) C8M0Y36K29 (8%,0%,36%,29%) (0.08/0.00/0.36/0.29)
A6 | B4 | 74 | |
---|---|---|---|
RGB | 166 | 180 | 116 |
HSL | 73° | 29.91% | 58.04% |
HSB/HSV | 73° | 35.56% | 70.59% |
CMYK | 7.78% | 0.00% | 35.56% |
29.41% |
HEX | A6 | B4 | 74 |
Decimal | 166 | 180 | 116 |
Binary | 10100110 | 10110100 | 1110100 |
Octal | 246 | 264 | 164 |
Examples of css and html codes for elements with #A6B474 color. Also use rgb(166,180,116) instead hex code.
.myTextColor { color: #A6B474; }
<p style="color:#A6B474">This sample text font color is #A6B474.</p>
This text font color is #A6B474.
.myBgColor { background-color: #A6B474; }
<div style="background-color:#A6B474">Inner text</div>
This div background color is #A6B474.
.myBorderColor { border: 1px solid #A6B474; }
<div style="border:3px solid #A6B474">Div</div>
This div border color is #A6B474.
.myOpacity80 { color: #A6B474; opacity: 0.8; }
<p style="color:#A6B474;opacity:0.8;">80%</p>
Text with #A6B474 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6B474;}
<p style="text-shadow: 3px 3px 1px #A6B474">Text here.</p>
This text has shadow with #A6B474 color.
.textShadow {text-shadow: 3px 3px 1px #A6B474, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6B474, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6B474 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6B474, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6B474, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6B474 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6B474; -webkit-box-shadow: 1px 1px 3px 2px #A6B474; box-shadow: 1px 1px 3px 2px #A6B474; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6B474; -webkit-box-shadow: 1px 1px 3px 2px #A6B474; box-shadow:1px 1px 3px 2px #A6B474;">
Div content here</div>
This text has color #A6B474 on black background.
This text has color #A6B474 on white background.
This text has black color on #A6B474 background.
This text has white color on #A6B474 background.