HEX: #B948A5
RGB: (185,72,165)
#B948A5 contains mainly red and blue colors. Web safe color of #B948A5 is #CC3399 (or #C39).
#B948A5 color RGB value is (185,72,165).
RGB: (185,72,165) (73%,28%,65%)
R 185 of 255 = 73%
G 72 of 255 = 28%
B 165 of 255 = 65%
R + G + B ~ 55%. #B948A5 is middle color (not dark and not light).
R + G + B =
185 + 72 + 165 = 422 (100%)
R 185 of 422 ~ 43.84%
G 72 of 422 ~ 17.06%
B 165 of 422 ~ 39.1%
#B948A5 color CMYK value is (0,61,11,27).
CMYK: (0,61,11,27) C0M61Y11K27 (0%,61%,11%,27%) (0.00/0.61/0.11/0.27)
B9 | 48 | A5 | |
---|---|---|---|
RGB | 185 | 72 | 165 |
HSL | 311° | 44.66% | 50.39% |
HSB/HSV | 311° | 61.08% | 72.55% |
CMYK | 0.00% | 61.08% | 10.81% |
27.45% |
HEX | B9 | 48 | A5 |
Decimal | 185 | 72 | 165 |
Binary | 10111001 | 1001000 | 10100101 |
Octal | 271 | 110 | 245 |
Examples of css and html codes for elements with #B948A5 color. Also use rgb(185,72,165) instead hex code.
.myTextColor { color: #B948A5; }
<p style="color:#B948A5">This sample text font color is #B948A5.</p>
This text font color is #B948A5.
.myBgColor { background-color: #B948A5; }
<div style="background-color:#B948A5">Inner text</div>
This div background color is #B948A5.
.myBorderColor { border: 1px solid #B948A5; }
<div style="border:3px solid #B948A5">Div</div>
This div border color is #B948A5.
.myOpacity80 { color: #B948A5; opacity: 0.8; }
<p style="color:#B948A5;opacity:0.8;">80%</p>
Text with #B948A5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B948A5;}
<p style="text-shadow: 3px 3px 1px #B948A5">Text here.</p>
This text has shadow with #B948A5 color.
.textShadow {text-shadow: 3px 3px 1px #B948A5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B948A5, 5px 5px 20px red">Text here.</p>
This text has shadow with #B948A5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B948A5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B948A5, Direction=45, Strength=4)">Text</p>
This text has shadow with #B948A5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B948A5; -webkit-box-shadow: 1px 1px 3px 2px #B948A5; box-shadow: 1px 1px 3px 2px #B948A5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B948A5; -webkit-box-shadow: 1px 1px 3px 2px #B948A5; box-shadow:1px 1px 3px 2px #B948A5;">
Div content here</div>
This text has color #B948A5 on black background.
This text has color #B948A5 on white background.
This text has black color on #B948A5 background.
This text has white color on #B948A5 background.