HEX: #B5B966
RGB: (181,185,102)
#B5B966 contains mainly red and green colors. Web safe color of #B5B966 is #CCCC66 (or #CC6).
#B5B966 color RGB value is (181,185,102).
RGB: (181,185,102) (71%,73%,40%)
R 181 of 255 = 71%
G 185 of 255 = 73%
B 102 of 255 = 40%
R + G + B ~ 61%. #B5B966 is quite light color.
R + G + B =
181 + 185 + 102 = 468 (100%)
R 181 of 468 ~ 38.68%
G 185 of 468 ~ 39.53%
B 102 of 468 ~ 21.79%
#B5B966 color CMYK value is (2,0,45,27).
CMYK: (2,0,45,27) C2M0Y45K27 (2%,0%,45%,27%) (0.02/0.00/0.45/0.27)
B5 | B9 | 66 | |
---|---|---|---|
RGB | 181 | 185 | 102 |
HSL | 63° | 37.22% | 56.27% |
HSB/HSV | 63° | 44.86% | 72.55% |
CMYK | 2.16% | 0.00% | 44.86% |
27.45% |
HEX | B5 | B9 | 66 |
Decimal | 181 | 185 | 102 |
Binary | 10110101 | 10111001 | 1100110 |
Octal | 265 | 271 | 146 |
Examples of css and html codes for elements with #B5B966 color. Also use rgb(181,185,102) instead hex code.
.myTextColor { color: #B5B966; }
<p style="color:#B5B966">This sample text font color is #B5B966.</p>
This text font color is #B5B966.
.myBgColor { background-color: #B5B966; }
<div style="background-color:#B5B966">Inner text</div>
This div background color is #B5B966.
.myBorderColor { border: 1px solid #B5B966; }
<div style="border:3px solid #B5B966">Div</div>
This div border color is #B5B966.
.myOpacity80 { color: #B5B966; opacity: 0.8; }
<p style="color:#B5B966;opacity:0.8;">80%</p>
Text with #B5B966 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5B966;}
<p style="text-shadow: 3px 3px 1px #B5B966">Text here.</p>
This text has shadow with #B5B966 color.
.textShadow {text-shadow: 3px 3px 1px #B5B966, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5B966, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5B966 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5B966, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5B966, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5B966 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5B966; -webkit-box-shadow: 1px 1px 3px 2px #B5B966; box-shadow: 1px 1px 3px 2px #B5B966; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5B966; -webkit-box-shadow: 1px 1px 3px 2px #B5B966; box-shadow:1px 1px 3px 2px #B5B966;">
Div content here</div>
This text has color #B5B966 on black background.
This text has color #B5B966 on white background.
This text has black color on #B5B966 background.
This text has white color on #B5B966 background.