HEX: #B5A279
RGB: (181,162,121)
#B5A279 contains mainly red and green colors. Web safe color of #B5A279 is #CC9966 (or #C96).
#B5A279 color RGB value is (181,162,121).
RGB: (181,162,121) (71%,64%,47%)
R 181 of 255 = 71%
G 162 of 255 = 64%
B 121 of 255 = 47%
R + G + B ~ 61%. #B5A279 is quite light color.
R + G + B =
181 + 162 + 121 = 464 (100%)
R 181 of 464 ~ 39.01%
G 162 of 464 ~ 34.91%
B 121 of 464 ~ 26.08%
#B5A279 color CMYK value is (0,10,33,29).
CMYK: (0,10,33,29) C0M10Y33K29 (0%,10%,33%,29%) (0.00/0.10/0.33/0.29)
B5 | A2 | 79 | |
---|---|---|---|
RGB | 181 | 162 | 121 |
HSL | 41° | 28.85% | 59.22% |
HSB/HSV | 41° | 33.15% | 70.98% |
CMYK | 0.00% | 10.50% | 33.15% |
29.02% |
HEX | B5 | A2 | 79 |
Decimal | 181 | 162 | 121 |
Binary | 10110101 | 10100010 | 1111001 |
Octal | 265 | 242 | 171 |
Examples of css and html codes for elements with #B5A279 color. Also use rgb(181,162,121) instead hex code.
.myTextColor { color: #B5A279; }
<p style="color:#B5A279">This sample text font color is #B5A279.</p>
This text font color is #B5A279.
.myBgColor { background-color: #B5A279; }
<div style="background-color:#B5A279">Inner text</div>
This div background color is #B5A279.
.myBorderColor { border: 1px solid #B5A279; }
<div style="border:3px solid #B5A279">Div</div>
This div border color is #B5A279.
.myOpacity80 { color: #B5A279; opacity: 0.8; }
<p style="color:#B5A279;opacity:0.8;">80%</p>
Text with #B5A279 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5A279;}
<p style="text-shadow: 3px 3px 1px #B5A279">Text here.</p>
This text has shadow with #B5A279 color.
.textShadow {text-shadow: 3px 3px 1px #B5A279, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5A279, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5A279 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5A279, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5A279, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5A279 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5A279; -webkit-box-shadow: 1px 1px 3px 2px #B5A279; box-shadow: 1px 1px 3px 2px #B5A279; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5A279; -webkit-box-shadow: 1px 1px 3px 2px #B5A279; box-shadow:1px 1px 3px 2px #B5A279;">
Div content here</div>
This text has color #B5A279 on black background.
This text has color #B5A279 on white background.
This text has black color on #B5A279 background.
This text has white color on #B5A279 background.