HEX: #B46A7E
RGB: (180,106,126)
#B46A7E contains mainly red and blue colors. Web safe color of #B46A7E is #CC6666 (or #C66).
#B46A7E color RGB value is (180,106,126).
RGB: (180,106,126) (71%,42%,49%)
R 180 of 255 = 71%
G 106 of 255 = 42%
B 126 of 255 = 49%
R + G + B ~ 54%. #B46A7E is middle color (not dark and not light).
R + G + B =
180 + 106 + 126 = 412 (100%)
R 180 of 412 ~ 43.69%
G 106 of 412 ~ 25.73%
B 126 of 412 ~ 30.58%
#B46A7E color CMYK value is (0,41,30,29).
CMYK: (0,41,30,29) C0M41Y30K29 (0%,41%,30%,29%) (0.00/0.41/0.30/0.29)
B4 | 6A | 7E | |
---|---|---|---|
RGB | 180 | 106 | 126 |
HSL | 344° | 33.04% | 56.08% |
HSB/HSV | 344° | 41.11% | 70.59% |
CMYK | 0.00% | 41.11% | 30.00% |
29.41% |
HEX | B4 | 6A | 7E |
Decimal | 180 | 106 | 126 |
Binary | 10110100 | 1101010 | 1111110 |
Octal | 264 | 152 | 176 |
Examples of css and html codes for elements with #B46A7E color. Also use rgb(180,106,126) instead hex code.
.myTextColor { color: #B46A7E; }
<p style="color:#B46A7E">This sample text font color is #B46A7E.</p>
This text font color is #B46A7E.
.myBgColor { background-color: #B46A7E; }
<div style="background-color:#B46A7E">Inner text</div>
This div background color is #B46A7E.
.myBorderColor { border: 1px solid #B46A7E; }
<div style="border:3px solid #B46A7E">Div</div>
This div border color is #B46A7E.
.myOpacity80 { color: #B46A7E; opacity: 0.8; }
<p style="color:#B46A7E;opacity:0.8;">80%</p>
Text with #B46A7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B46A7E;}
<p style="text-shadow: 3px 3px 1px #B46A7E">Text here.</p>
This text has shadow with #B46A7E color.
.textShadow {text-shadow: 3px 3px 1px #B46A7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B46A7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B46A7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B46A7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B46A7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B46A7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B46A7E; -webkit-box-shadow: 1px 1px 3px 2px #B46A7E; box-shadow: 1px 1px 3px 2px #B46A7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B46A7E; -webkit-box-shadow: 1px 1px 3px 2px #B46A7E; box-shadow:1px 1px 3px 2px #B46A7E;">
Div content here</div>
This text has color #B46A7E on black background.
This text has color #B46A7E on white background.
This text has black color on #B46A7E background.
This text has white color on #B46A7E background.