HEX: #B5AA3C
RGB: (181,170,60)
#B5AA3C contains mainly red and green colors. Web safe color of #B5AA3C is #CC9933 (or #C93).
#B5AA3C color RGB value is (181,170,60).
RGB: (181,170,60) (71%,67%,24%)
R 181 of 255 = 71%
G 170 of 255 = 67%
B 60 of 255 = 24%
R + G + B ~ 54%. #B5AA3C is middle color (not dark and not light).
R + G + B =
181 + 170 + 60 = 411 (100%)
R 181 of 411 ~ 44.04%
G 170 of 411 ~ 41.36%
B 60 of 411 ~ 14.6%
#B5AA3C color CMYK value is (0,6,67,29).
CMYK: (0,6,67,29) C0M6Y67K29 (0%,6%,67%,29%) (0.00/0.06/0.67/0.29)
B5 | AA | 3C | |
---|---|---|---|
RGB | 181 | 170 | 60 |
HSL | 55° | 50.21% | 47.25% |
HSB/HSV | 55° | 66.85% | 70.98% |
CMYK | 0.00% | 6.08% | 66.85% |
29.02% |
HEX | B5 | AA | 3C |
Decimal | 181 | 170 | 60 |
Binary | 10110101 | 10101010 | 111100 |
Octal | 265 | 252 | 74 |
Examples of css and html codes for elements with #B5AA3C color. Also use rgb(181,170,60) instead hex code.
.myTextColor { color: #B5AA3C; }
<p style="color:#B5AA3C">This sample text font color is #B5AA3C.</p>
This text font color is #B5AA3C.
.myBgColor { background-color: #B5AA3C; }
<div style="background-color:#B5AA3C">Inner text</div>
This div background color is #B5AA3C.
.myBorderColor { border: 1px solid #B5AA3C; }
<div style="border:3px solid #B5AA3C">Div</div>
This div border color is #B5AA3C.
.myOpacity80 { color: #B5AA3C; opacity: 0.8; }
<p style="color:#B5AA3C;opacity:0.8;">80%</p>
Text with #B5AA3C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5AA3C;}
<p style="text-shadow: 3px 3px 1px #B5AA3C">Text here.</p>
This text has shadow with #B5AA3C color.
.textShadow {text-shadow: 3px 3px 1px #B5AA3C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5AA3C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5AA3C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5AA3C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5AA3C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5AA3C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5AA3C; -webkit-box-shadow: 1px 1px 3px 2px #B5AA3C; box-shadow: 1px 1px 3px 2px #B5AA3C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5AA3C; -webkit-box-shadow: 1px 1px 3px 2px #B5AA3C; box-shadow:1px 1px 3px 2px #B5AA3C;">
Div content here</div>
This text has color #B5AA3C on black background.
This text has color #B5AA3C on white background.
This text has black color on #B5AA3C background.
This text has white color on #B5AA3C background.