HEX: #AAB278
RGB: (170,178,120)
#AAB278 contains red, green and blue colors in about the same proportion. Web safe color of #AAB278 is #999966 (or #996).
#AAB278 color RGB value is (170,178,120).
RGB: (170,178,120) (67%,70%,47%)
R 170 of 255 = 67%
G 178 of 255 = 70%
B 120 of 255 = 47%
R + G + B ~ 61%. #AAB278 is quite light color.
R + G + B =
170 + 178 + 120 = 468 (100%)
R 170 of 468 ~ 36.32%
G 178 of 468 ~ 38.03%
B 120 of 468 ~ 25.64%
#AAB278 color CMYK value is (4,0,33,30).
CMYK: (4,0,33,30) C4M0Y33K30 (4%,0%,33%,30%) (0.04/0.00/0.33/0.30)
AA | B2 | 78 | |
---|---|---|---|
RGB | 170 | 178 | 120 |
HSL | 68° | 27.36% | 58.43% |
HSB/HSV | 68° | 32.58% | 69.80% |
CMYK | 4.49% | 0.00% | 32.58% |
30.20% |
HEX | AA | B2 | 78 |
Decimal | 170 | 178 | 120 |
Binary | 10101010 | 10110010 | 1111000 |
Octal | 252 | 262 | 170 |
Examples of css and html codes for elements with #AAB278 color. Also use rgb(170,178,120) instead hex code.
.myTextColor { color: #AAB278; }
<p style="color:#AAB278">This sample text font color is #AAB278.</p>
This text font color is #AAB278.
.myBgColor { background-color: #AAB278; }
<div style="background-color:#AAB278">Inner text</div>
This div background color is #AAB278.
.myBorderColor { border: 1px solid #AAB278; }
<div style="border:3px solid #AAB278">Div</div>
This div border color is #AAB278.
.myOpacity80 { color: #AAB278; opacity: 0.8; }
<p style="color:#AAB278;opacity:0.8;">80%</p>
Text with #AAB278 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AAB278;}
<p style="text-shadow: 3px 3px 1px #AAB278">Text here.</p>
This text has shadow with #AAB278 color.
.textShadow {text-shadow: 3px 3px 1px #AAB278, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AAB278, 5px 5px 20px red">Text here.</p>
This text has shadow with #AAB278 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AAB278, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AAB278, Direction=45, Strength=4)">Text</p>
This text has shadow with #AAB278 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AAB278; -webkit-box-shadow: 1px 1px 3px 2px #AAB278; box-shadow: 1px 1px 3px 2px #AAB278; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AAB278; -webkit-box-shadow: 1px 1px 3px 2px #AAB278; box-shadow:1px 1px 3px 2px #AAB278;">
Div content here</div>
This text has color #AAB278 on black background.
This text has color #AAB278 on white background.
This text has black color on #AAB278 background.
This text has white color on #AAB278 background.