HEX: #B5A751
RGB: (181,167,81)
#B5A751 contains mainly red and green colors. Web safe color of #B5A751 is #CC9966 (or #C96).
#B5A751 color RGB value is (181,167,81).
RGB: (181,167,81) (71%,65%,32%)
R 181 of 255 = 71%
G 167 of 255 = 65%
B 81 of 255 = 32%
R + G + B ~ 56%. #B5A751 is middle color (not dark and not light).
R + G + B =
181 + 167 + 81 = 429 (100%)
R 181 of 429 ~ 42.19%
G 167 of 429 ~ 38.93%
B 81 of 429 ~ 18.88%
#B5A751 color CMYK value is (0,8,55,29).
CMYK: (0,8,55,29) C0M8Y55K29 (0%,8%,55%,29%) (0.00/0.08/0.55/0.29)
B5 | A7 | 51 | |
---|---|---|---|
RGB | 181 | 167 | 81 |
HSL | 52° | 40.32% | 51.37% |
HSB/HSV | 52° | 55.25% | 70.98% |
CMYK | 0.00% | 7.73% | 55.25% |
29.02% |
HEX | B5 | A7 | 51 |
Decimal | 181 | 167 | 81 |
Binary | 10110101 | 10100111 | 1010001 |
Octal | 265 | 247 | 121 |
Examples of css and html codes for elements with #B5A751 color. Also use rgb(181,167,81) instead hex code.
.myTextColor { color: #B5A751; }
<p style="color:#B5A751">This sample text font color is #B5A751.</p>
This text font color is #B5A751.
.myBgColor { background-color: #B5A751; }
<div style="background-color:#B5A751">Inner text</div>
This div background color is #B5A751.
.myBorderColor { border: 1px solid #B5A751; }
<div style="border:3px solid #B5A751">Div</div>
This div border color is #B5A751.
.myOpacity80 { color: #B5A751; opacity: 0.8; }
<p style="color:#B5A751;opacity:0.8;">80%</p>
Text with #B5A751 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5A751;}
<p style="text-shadow: 3px 3px 1px #B5A751">Text here.</p>
This text has shadow with #B5A751 color.
.textShadow {text-shadow: 3px 3px 1px #B5A751, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5A751, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5A751 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5A751, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5A751, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5A751 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5A751; -webkit-box-shadow: 1px 1px 3px 2px #B5A751; box-shadow: 1px 1px 3px 2px #B5A751; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5A751; -webkit-box-shadow: 1px 1px 3px 2px #B5A751; box-shadow:1px 1px 3px 2px #B5A751;">
Div content here</div>
This text has color #B5A751 on black background.
This text has color #B5A751 on white background.
This text has black color on #B5A751 background.
This text has white color on #B5A751 background.