HEX: #B5881F
RGB: (181,136,31)
#B5881F contains mainly red and green colors. Web safe color of #B5881F is #CC9933 (or #C93).
#B5881F color RGB value is (181,136,31).
RGB: (181,136,31) (71%,53%,12%)
R 181 of 255 = 71%
G 136 of 255 = 53%
B 31 of 255 = 12%
R + G + B ~ 45%. #B5881F is middle color (not dark and not light).
R + G + B =
181 + 136 + 31 = 348 (100%)
R 181 of 348 ~ 52.01%
G 136 of 348 ~ 39.08%
B 31 of 348 ~ 8.91%
#B5881F color CMYK value is (0,25,83,29).
CMYK: (0,25,83,29) C0M25Y83K29 (0%,25%,83%,29%) (0.00/0.25/0.83/0.29)
B5 | 88 | 1F | |
---|---|---|---|
RGB | 181 | 136 | 31 |
HSL | 42° | 70.75% | 41.57% |
HSB/HSV | 42° | 82.87% | 70.98% |
CMYK | 0.00% | 24.86% | 82.87% |
29.02% |
HEX | B5 | 88 | 1F |
Decimal | 181 | 136 | 31 |
Binary | 10110101 | 10001000 | 11111 |
Octal | 265 | 210 | 37 |
Examples of css and html codes for elements with #B5881F color. Also use rgb(181,136,31) instead hex code.
.myTextColor { color: #B5881F; }
<p style="color:#B5881F">This sample text font color is #B5881F.</p>
This text font color is #B5881F.
.myBgColor { background-color: #B5881F; }
<div style="background-color:#B5881F">Inner text</div>
This div background color is #B5881F.
.myBorderColor { border: 1px solid #B5881F; }
<div style="border:3px solid #B5881F">Div</div>
This div border color is #B5881F.
.myOpacity80 { color: #B5881F; opacity: 0.8; }
<p style="color:#B5881F;opacity:0.8;">80%</p>
Text with #B5881F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5881F;}
<p style="text-shadow: 3px 3px 1px #B5881F">Text here.</p>
This text has shadow with #B5881F color.
.textShadow {text-shadow: 3px 3px 1px #B5881F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5881F, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5881F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5881F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5881F, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5881F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5881F; -webkit-box-shadow: 1px 1px 3px 2px #B5881F; box-shadow: 1px 1px 3px 2px #B5881F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5881F; -webkit-box-shadow: 1px 1px 3px 2px #B5881F; box-shadow:1px 1px 3px 2px #B5881F;">
Div content here</div>
This text has color #B5881F on black background.
This text has color #B5881F on white background.
This text has black color on #B5881F background.
This text has white color on #B5881F background.