HEX: #B16828
RGB: (177,104,40)
#B16828 contains mainly red color. Web safe color of #B16828 is #996633 (or #963).
#B16828 color RGB value is (177,104,40).
RGB: (177,104,40) (69%,41%,16%)
R 177 of 255 = 69%
G 104 of 255 = 41%
B 40 of 255 = 16%
R + G + B ~ 42%. #B16828 is middle color (not dark and not light).
R + G + B =
177 + 104 + 40 = 321 (100%)
R 177 of 321 ~ 55.14%
G 104 of 321 ~ 32.4%
B 40 of 321 ~ 12.46%
#B16828 color CMYK value is (0,41,77,31).
CMYK: (0,41,77,31) C0M41Y77K31 (0%,41%,77%,31%) (0.00/0.41/0.77/0.31)
B1 | 68 | 28 | |
---|---|---|---|
RGB | 177 | 104 | 40 |
HSL | 28° | 63.13% | 42.55% |
HSB/HSV | 28° | 77.40% | 69.41% |
CMYK | 0.00% | 41.24% | 77.40% |
30.59% |
HEX | B1 | 68 | 28 |
Decimal | 177 | 104 | 40 |
Binary | 10110001 | 1101000 | 101000 |
Octal | 261 | 150 | 50 |
Examples of css and html codes for elements with #B16828 color. Also use rgb(177,104,40) instead hex code.
.myTextColor { color: #B16828; }
<p style="color:#B16828">This sample text font color is #B16828.</p>
This text font color is #B16828.
.myBgColor { background-color: #B16828; }
<div style="background-color:#B16828">Inner text</div>
This div background color is #B16828.
.myBorderColor { border: 1px solid #B16828; }
<div style="border:3px solid #B16828">Div</div>
This div border color is #B16828.
.myOpacity80 { color: #B16828; opacity: 0.8; }
<p style="color:#B16828;opacity:0.8;">80%</p>
Text with #B16828 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B16828;}
<p style="text-shadow: 3px 3px 1px #B16828">Text here.</p>
This text has shadow with #B16828 color.
.textShadow {text-shadow: 3px 3px 1px #B16828, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B16828, 5px 5px 20px red">Text here.</p>
This text has shadow with #B16828 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B16828, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B16828, Direction=45, Strength=4)">Text</p>
This text has shadow with #B16828 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B16828; -webkit-box-shadow: 1px 1px 3px 2px #B16828; box-shadow: 1px 1px 3px 2px #B16828; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B16828; -webkit-box-shadow: 1px 1px 3px 2px #B16828; box-shadow:1px 1px 3px 2px #B16828;">
Div content here</div>
This text has color #B16828 on black background.
This text has color #B16828 on white background.
This text has black color on #B16828 background.
This text has white color on #B16828 background.