HEX: #B980DB
RGB: (185,128,219)
#B980DB contains mainly red and blue colors. Web safe color of #B980DB is #CC66CC (or #C6C).
#B980DB color RGB value is (185,128,219).
RGB: (185,128,219) (73%,50%,86%)
R 185 of 255 = 73%
G 128 of 255 = 50%
B 219 of 255 = 86%
R + G + B ~ 70%. #B980DB is quite light color.
R + G + B =
185 + 128 + 219 = 532 (100%)
R 185 of 532 ~ 34.77%
G 128 of 532 ~ 24.06%
B 219 of 532 ~ 41.17%
#B980DB color CMYK value is (16,42,0,14).
CMYK: (16,42,0,14) C16M42Y0K14 (16%,42%,0%,14%) (0.16/0.42/0.00/0.14)
B9 | 80 | DB | |
---|---|---|---|
RGB | 185 | 128 | 219 |
HSL | 278° | 55.83% | 68.04% |
HSB/HSV | 278° | 41.55% | 85.88% |
CMYK | 15.53% | 41.55% | 0.00% |
14.12% |
HEX | B9 | 80 | DB |
Decimal | 185 | 128 | 219 |
Binary | 10111001 | 10000000 | 11011011 |
Octal | 271 | 200 | 333 |
Examples of css and html codes for elements with #B980DB color. Also use rgb(185,128,219) instead hex code.
.myTextColor { color: #B980DB; }
<p style="color:#B980DB">This sample text font color is #B980DB.</p>
This text font color is #B980DB.
.myBgColor { background-color: #B980DB; }
<div style="background-color:#B980DB">Inner text</div>
This div background color is #B980DB.
.myBorderColor { border: 1px solid #B980DB; }
<div style="border:3px solid #B980DB">Div</div>
This div border color is #B980DB.
.myOpacity80 { color: #B980DB; opacity: 0.8; }
<p style="color:#B980DB;opacity:0.8;">80%</p>
Text with #B980DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B980DB;}
<p style="text-shadow: 3px 3px 1px #B980DB">Text here.</p>
This text has shadow with #B980DB color.
.textShadow {text-shadow: 3px 3px 1px #B980DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B980DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B980DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B980DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B980DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B980DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B980DB; -webkit-box-shadow: 1px 1px 3px 2px #B980DB; box-shadow: 1px 1px 3px 2px #B980DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B980DB; -webkit-box-shadow: 1px 1px 3px 2px #B980DB; box-shadow:1px 1px 3px 2px #B980DB;">
Div content here</div>
This text has color #B980DB on black background.
This text has color #B980DB on white background.
This text has black color on #B980DB background.
This text has white color on #B980DB background.