HEX: #B5AF70
RGB: (181,175,112)
#B5AF70 contains mainly red and green colors. Web safe color of #B5AF70 is #CC9966 (or #C96).
#B5AF70 color RGB value is (181,175,112).
RGB: (181,175,112) (71%,69%,44%)
R 181 of 255 = 71%
G 175 of 255 = 69%
B 112 of 255 = 44%
R + G + B ~ 61%. #B5AF70 is quite light color.
R + G + B =
181 + 175 + 112 = 468 (100%)
R 181 of 468 ~ 38.68%
G 175 of 468 ~ 37.39%
B 112 of 468 ~ 23.93%
#B5AF70 color CMYK value is (0,3,38,29).
CMYK: (0,3,38,29) C0M3Y38K29 (0%,3%,38%,29%) (0.00/0.03/0.38/0.29)
B5 | AF | 70 | |
---|---|---|---|
RGB | 181 | 175 | 112 |
HSL | 55° | 31.80% | 57.45% |
HSB/HSV | 55° | 38.12% | 70.98% |
CMYK | 0.00% | 3.31% | 38.12% |
29.02% |
HEX | B5 | AF | 70 |
Decimal | 181 | 175 | 112 |
Binary | 10110101 | 10101111 | 1110000 |
Octal | 265 | 257 | 160 |
Examples of css and html codes for elements with #B5AF70 color. Also use rgb(181,175,112) instead hex code.
.myTextColor { color: #B5AF70; }
<p style="color:#B5AF70">This sample text font color is #B5AF70.</p>
This text font color is #B5AF70.
.myBgColor { background-color: #B5AF70; }
<div style="background-color:#B5AF70">Inner text</div>
This div background color is #B5AF70.
.myBorderColor { border: 1px solid #B5AF70; }
<div style="border:3px solid #B5AF70">Div</div>
This div border color is #B5AF70.
.myOpacity80 { color: #B5AF70; opacity: 0.8; }
<p style="color:#B5AF70;opacity:0.8;">80%</p>
Text with #B5AF70 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5AF70;}
<p style="text-shadow: 3px 3px 1px #B5AF70">Text here.</p>
This text has shadow with #B5AF70 color.
.textShadow {text-shadow: 3px 3px 1px #B5AF70, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5AF70, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5AF70 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5AF70, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5AF70, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5AF70 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5AF70; -webkit-box-shadow: 1px 1px 3px 2px #B5AF70; box-shadow: 1px 1px 3px 2px #B5AF70; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5AF70; -webkit-box-shadow: 1px 1px 3px 2px #B5AF70; box-shadow:1px 1px 3px 2px #B5AF70;">
Div content here</div>
This text has color #B5AF70 on black background.
This text has color #B5AF70 on white background.
This text has black color on #B5AF70 background.
This text has white color on #B5AF70 background.