HEX: #A6B850
RGB: (166,184,80)
#A6B850 contains mainly red and green colors. Web safe color of #A6B850 is #99CC66 (or #9C6).
#A6B850 color RGB value is (166,184,80).
RGB: (166,184,80) (65%,72%,31%)
R 166 of 255 = 65%
G 184 of 255 = 72%
B 80 of 255 = 31%
R + G + B ~ 56%. #A6B850 is middle color (not dark and not light).
R + G + B =
166 + 184 + 80 = 430 (100%)
R 166 of 430 ~ 38.6%
G 184 of 430 ~ 42.79%
B 80 of 430 ~ 18.6%
#A6B850 color CMYK value is (10,0,57,28).
CMYK: (10,0,57,28) C10M0Y57K28 (10%,0%,57%,28%) (0.10/0.00/0.57/0.28)
A6 | B8 | 50 | |
---|---|---|---|
RGB | 166 | 184 | 80 |
HSL | 70° | 42.28% | 51.76% |
HSB/HSV | 70° | 56.52% | 72.16% |
CMYK | 9.78% | 0.00% | 56.52% |
27.84% |
HEX | A6 | B8 | 50 |
Decimal | 166 | 184 | 80 |
Binary | 10100110 | 10111000 | 1010000 |
Octal | 246 | 270 | 120 |
Examples of css and html codes for elements with #A6B850 color. Also use rgb(166,184,80) instead hex code.
.myTextColor { color: #A6B850; }
<p style="color:#A6B850">This sample text font color is #A6B850.</p>
This text font color is #A6B850.
.myBgColor { background-color: #A6B850; }
<div style="background-color:#A6B850">Inner text</div>
This div background color is #A6B850.
.myBorderColor { border: 1px solid #A6B850; }
<div style="border:3px solid #A6B850">Div</div>
This div border color is #A6B850.
.myOpacity80 { color: #A6B850; opacity: 0.8; }
<p style="color:#A6B850;opacity:0.8;">80%</p>
Text with #A6B850 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6B850;}
<p style="text-shadow: 3px 3px 1px #A6B850">Text here.</p>
This text has shadow with #A6B850 color.
.textShadow {text-shadow: 3px 3px 1px #A6B850, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6B850, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6B850 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6B850, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6B850, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6B850 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6B850; -webkit-box-shadow: 1px 1px 3px 2px #A6B850; box-shadow: 1px 1px 3px 2px #A6B850; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6B850; -webkit-box-shadow: 1px 1px 3px 2px #A6B850; box-shadow:1px 1px 3px 2px #A6B850;">
Div content here</div>
This text has color #A6B850 on black background.
This text has color #A6B850 on white background.
This text has black color on #A6B850 background.
This text has white color on #A6B850 background.