HEX: #B978D1
RGB: (185,120,209)
#B978D1 contains mainly red and blue colors. Web safe color of #B978D1 is #CC66CC (or #C6C).
#B978D1 color RGB value is (185,120,209).
RGB: (185,120,209) (73%,47%,82%)
R 185 of 255 = 73%
G 120 of 255 = 47%
B 209 of 255 = 82%
R + G + B ~ 67%. #B978D1 is quite light color.
R + G + B =
185 + 120 + 209 = 514 (100%)
R 185 of 514 ~ 35.99%
G 120 of 514 ~ 23.35%
B 209 of 514 ~ 40.66%
#B978D1 color CMYK value is (11,43,0,18).
CMYK: (11,43,0,18) C11M43Y0K18 (11%,43%,0%,18%) (0.11/0.43/0.00/0.18)
B9 | 78 | D1 | |
---|---|---|---|
RGB | 185 | 120 | 209 |
HSL | 284° | 49.17% | 64.51% |
HSB/HSV | 284° | 42.58% | 81.96% |
CMYK | 11.48% | 42.58% | 0.00% |
18.04% |
HEX | B9 | 78 | D1 |
Decimal | 185 | 120 | 209 |
Binary | 10111001 | 1111000 | 11010001 |
Octal | 271 | 170 | 321 |
Examples of css and html codes for elements with #B978D1 color. Also use rgb(185,120,209) instead hex code.
.myTextColor { color: #B978D1; }
<p style="color:#B978D1">This sample text font color is #B978D1.</p>
This text font color is #B978D1.
.myBgColor { background-color: #B978D1; }
<div style="background-color:#B978D1">Inner text</div>
This div background color is #B978D1.
.myBorderColor { border: 1px solid #B978D1; }
<div style="border:3px solid #B978D1">Div</div>
This div border color is #B978D1.
.myOpacity80 { color: #B978D1; opacity: 0.8; }
<p style="color:#B978D1;opacity:0.8;">80%</p>
Text with #B978D1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B978D1;}
<p style="text-shadow: 3px 3px 1px #B978D1">Text here.</p>
This text has shadow with #B978D1 color.
.textShadow {text-shadow: 3px 3px 1px #B978D1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B978D1, 5px 5px 20px red">Text here.</p>
This text has shadow with #B978D1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B978D1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B978D1, Direction=45, Strength=4)">Text</p>
This text has shadow with #B978D1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B978D1; -webkit-box-shadow: 1px 1px 3px 2px #B978D1; box-shadow: 1px 1px 3px 2px #B978D1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B978D1; -webkit-box-shadow: 1px 1px 3px 2px #B978D1; box-shadow:1px 1px 3px 2px #B978D1;">
Div content here</div>
This text has color #B978D1 on black background.
This text has color #B978D1 on white background.
This text has black color on #B978D1 background.
This text has white color on #B978D1 background.