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