HEX: #B5987F
RGB: (181,152,127)
#B5987F contains red, green and blue colors in about the same proportion. Web safe color of #B5987F is #CC9966 (or #C96).
#B5987F color RGB value is (181,152,127).
RGB: (181,152,127) (71%,60%,50%)
R 181 of 255 = 71%
G 152 of 255 = 60%
B 127 of 255 = 50%
R + G + B ~ 60%. #B5987F is middle color (not dark and not light).
R + G + B =
181 + 152 + 127 = 460 (100%)
R 181 of 460 ~ 39.35%
G 152 of 460 ~ 33.04%
B 127 of 460 ~ 27.61%
#B5987F color CMYK value is (0,16,30,29).
CMYK: (0,16,30,29) C0M16Y30K29 (0%,16%,30%,29%) (0.00/0.16/0.30/0.29)
B5 | 98 | 7F | |
---|---|---|---|
RGB | 181 | 152 | 127 |
HSL | 28° | 26.73% | 60.39% |
HSB/HSV | 28° | 29.83% | 70.98% |
CMYK | 0.00% | 16.02% | 29.83% |
29.02% |
HEX | B5 | 98 | 7F |
Decimal | 181 | 152 | 127 |
Binary | 10110101 | 10011000 | 1111111 |
Octal | 265 | 230 | 177 |
Examples of css and html codes for elements with #B5987F color. Also use rgb(181,152,127) instead hex code.
.myTextColor { color: #B5987F; }
<p style="color:#B5987F">This sample text font color is #B5987F.</p>
This text font color is #B5987F.
.myBgColor { background-color: #B5987F; }
<div style="background-color:#B5987F">Inner text</div>
This div background color is #B5987F.
.myBorderColor { border: 1px solid #B5987F; }
<div style="border:3px solid #B5987F">Div</div>
This div border color is #B5987F.
.myOpacity80 { color: #B5987F; opacity: 0.8; }
<p style="color:#B5987F;opacity:0.8;">80%</p>
Text with #B5987F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5987F;}
<p style="text-shadow: 3px 3px 1px #B5987F">Text here.</p>
This text has shadow with #B5987F color.
.textShadow {text-shadow: 3px 3px 1px #B5987F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5987F, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5987F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5987F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5987F, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5987F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5987F; -webkit-box-shadow: 1px 1px 3px 2px #B5987F; box-shadow: 1px 1px 3px 2px #B5987F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5987F; -webkit-box-shadow: 1px 1px 3px 2px #B5987F; box-shadow:1px 1px 3px 2px #B5987F;">
Div content here</div>
This text has color #B5987F on black background.
This text has color #B5987F on white background.
This text has black color on #B5987F background.
This text has white color on #B5987F background.