HEX: #B46C9F
RGB: (180,108,159)
#B46C9F contains mainly red and blue colors. Web safe color of #B46C9F is #CC6699 (or #C69).
#B46C9F color RGB value is (180,108,159).
RGB: (180,108,159) (71%,42%,62%)
R 180 of 255 = 71%
G 108 of 255 = 42%
B 159 of 255 = 62%
R + G + B ~ 58%. #B46C9F is middle color (not dark and not light).
R + G + B =
180 + 108 + 159 = 447 (100%)
R 180 of 447 ~ 40.27%
G 108 of 447 ~ 24.16%
B 159 of 447 ~ 35.57%
#B46C9F color CMYK value is (0,40,12,29).
CMYK: (0,40,12,29) C0M40Y12K29 (0%,40%,12%,29%) (0.00/0.40/0.12/0.29)
B4 | 6C | 9F | |
---|---|---|---|
RGB | 180 | 108 | 159 |
HSL | 318° | 32.43% | 56.47% |
HSB/HSV | 318° | 40.00% | 70.59% |
CMYK | 0.00% | 40.00% | 11.67% |
29.41% |
HEX | B4 | 6C | 9F |
Decimal | 180 | 108 | 159 |
Binary | 10110100 | 1101100 | 10011111 |
Octal | 264 | 154 | 237 |
Examples of css and html codes for elements with #B46C9F color. Also use rgb(180,108,159) instead hex code.
.myTextColor { color: #B46C9F; }
<p style="color:#B46C9F">This sample text font color is #B46C9F.</p>
This text font color is #B46C9F.
.myBgColor { background-color: #B46C9F; }
<div style="background-color:#B46C9F">Inner text</div>
This div background color is #B46C9F.
.myBorderColor { border: 1px solid #B46C9F; }
<div style="border:3px solid #B46C9F">Div</div>
This div border color is #B46C9F.
.myOpacity80 { color: #B46C9F; opacity: 0.8; }
<p style="color:#B46C9F;opacity:0.8;">80%</p>
Text with #B46C9F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B46C9F;}
<p style="text-shadow: 3px 3px 1px #B46C9F">Text here.</p>
This text has shadow with #B46C9F color.
.textShadow {text-shadow: 3px 3px 1px #B46C9F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B46C9F, 5px 5px 20px red">Text here.</p>
This text has shadow with #B46C9F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B46C9F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B46C9F, Direction=45, Strength=4)">Text</p>
This text has shadow with #B46C9F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B46C9F; -webkit-box-shadow: 1px 1px 3px 2px #B46C9F; box-shadow: 1px 1px 3px 2px #B46C9F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B46C9F; -webkit-box-shadow: 1px 1px 3px 2px #B46C9F; box-shadow:1px 1px 3px 2px #B46C9F;">
Div content here</div>
This text has color #B46C9F on black background.
This text has color #B46C9F on white background.
This text has black color on #B46C9F background.
This text has white color on #B46C9F background.