HEX: #B48A6C
RGB: (180,138,108)
#B48A6C contains mainly red and green colors. Web safe color of #B48A6C is #CC9966 (or #C96).
#B48A6C color RGB value is (180,138,108).
RGB: (180,138,108) (71%,54%,42%)
R 180 of 255 = 71%
G 138 of 255 = 54%
B 108 of 255 = 42%
R + G + B ~ 56%. #B48A6C is middle color (not dark and not light).
R + G + B =
180 + 138 + 108 = 426 (100%)
R 180 of 426 ~ 42.25%
G 138 of 426 ~ 32.39%
B 108 of 426 ~ 25.35%
#B48A6C color CMYK value is (0,23,40,29).
CMYK: (0,23,40,29) C0M23Y40K29 (0%,23%,40%,29%) (0.00/0.23/0.40/0.29)
B4 | 8A | 6C | |
---|---|---|---|
RGB | 180 | 138 | 108 |
HSL | 25° | 32.43% | 56.47% |
HSB/HSV | 25° | 40.00% | 70.59% |
CMYK | 0.00% | 23.33% | 40.00% |
29.41% |
HEX | B4 | 8A | 6C |
Decimal | 180 | 138 | 108 |
Binary | 10110100 | 10001010 | 1101100 |
Octal | 264 | 212 | 154 |
Examples of css and html codes for elements with #B48A6C color. Also use rgb(180,138,108) instead hex code.
.myTextColor { color: #B48A6C; }
<p style="color:#B48A6C">This sample text font color is #B48A6C.</p>
This text font color is #B48A6C.
.myBgColor { background-color: #B48A6C; }
<div style="background-color:#B48A6C">Inner text</div>
This div background color is #B48A6C.
.myBorderColor { border: 1px solid #B48A6C; }
<div style="border:3px solid #B48A6C">Div</div>
This div border color is #B48A6C.
.myOpacity80 { color: #B48A6C; opacity: 0.8; }
<p style="color:#B48A6C;opacity:0.8;">80%</p>
Text with #B48A6C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B48A6C;}
<p style="text-shadow: 3px 3px 1px #B48A6C">Text here.</p>
This text has shadow with #B48A6C color.
.textShadow {text-shadow: 3px 3px 1px #B48A6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B48A6C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B48A6C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B48A6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B48A6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B48A6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B48A6C; -webkit-box-shadow: 1px 1px 3px 2px #B48A6C; box-shadow: 1px 1px 3px 2px #B48A6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B48A6C; -webkit-box-shadow: 1px 1px 3px 2px #B48A6C; box-shadow:1px 1px 3px 2px #B48A6C;">
Div content here</div>
This text has color #B48A6C on black background.
This text has color #B48A6C on white background.
This text has black color on #B48A6C background.
This text has white color on #B48A6C background.