HEX: #A6B247
RGB: (166,178,71)
#A6B247 contains mainly red and green colors. Web safe color of #A6B247 is #999933 (or #993).
#A6B247 color RGB value is (166,178,71).
RGB: (166,178,71) (65%,70%,28%)
R 166 of 255 = 65%
G 178 of 255 = 70%
B 71 of 255 = 28%
R + G + B ~ 54%. #A6B247 is middle color (not dark and not light).
R + G + B =
166 + 178 + 71 = 415 (100%)
R 166 of 415 ~ 40%
G 178 of 415 ~ 42.89%
B 71 of 415 ~ 17.11%
#A6B247 color CMYK value is (7,0,60,30).
CMYK: (7,0,60,30) C7M0Y60K30 (7%,0%,60%,30%) (0.07/0.00/0.60/0.30)
A6 | B2 | 47 | |
---|---|---|---|
RGB | 166 | 178 | 71 |
HSL | 67° | 42.97% | 48.82% |
HSB/HSV | 67° | 60.11% | 69.80% |
CMYK | 6.74% | 0.00% | 60.11% |
30.20% |
HEX | A6 | B2 | 47 |
Decimal | 166 | 178 | 71 |
Binary | 10100110 | 10110010 | 1000111 |
Octal | 246 | 262 | 107 |
Examples of css and html codes for elements with #A6B247 color. Also use rgb(166,178,71) instead hex code.
.myTextColor { color: #A6B247; }
<p style="color:#A6B247">This sample text font color is #A6B247.</p>
This text font color is #A6B247.
.myBgColor { background-color: #A6B247; }
<div style="background-color:#A6B247">Inner text</div>
This div background color is #A6B247.
.myBorderColor { border: 1px solid #A6B247; }
<div style="border:3px solid #A6B247">Div</div>
This div border color is #A6B247.
.myOpacity80 { color: #A6B247; opacity: 0.8; }
<p style="color:#A6B247;opacity:0.8;">80%</p>
Text with #A6B247 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6B247;}
<p style="text-shadow: 3px 3px 1px #A6B247">Text here.</p>
This text has shadow with #A6B247 color.
.textShadow {text-shadow: 3px 3px 1px #A6B247, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6B247, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6B247 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6B247, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6B247, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6B247 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6B247; -webkit-box-shadow: 1px 1px 3px 2px #A6B247; box-shadow: 1px 1px 3px 2px #A6B247; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6B247; -webkit-box-shadow: 1px 1px 3px 2px #A6B247; box-shadow:1px 1px 3px 2px #A6B247;">
Div content here</div>
This text has color #A6B247 on black background.
This text has color #A6B247 on white background.
This text has black color on #A6B247 background.
This text has white color on #A6B247 background.