HEX: #9980D3
RGB: (153,128,211)
#9980D3 contains mainly red and blue colors. Web safe color of #9980D3 is #9966CC (or #96C).
#9980D3 color RGB value is (153,128,211).
RGB: (153,128,211) (60%,50%,83%)
R 153 of 255 = 60%
G 128 of 255 = 50%
B 211 of 255 = 83%
R + G + B ~ 64%. #9980D3 is quite light color.
R + G + B =
153 + 128 + 211 = 492 (100%)
R 153 of 492 ~ 31.1%
G 128 of 492 ~ 26.02%
B 211 of 492 ~ 42.89%
#9980D3 color CMYK value is (27,39,0,17).
CMYK: (27,39,0,17) C27M39Y0K17 (27%,39%,0%,17%) (0.27/0.39/0.00/0.17)
99 | 80 | D3 | |
---|---|---|---|
RGB | 153 | 128 | 211 |
HSL | 258° | 48.54% | 66.47% |
HSB/HSV | 258° | 39.34% | 82.75% |
CMYK | 27.49% | 39.34% | 0.00% |
17.25% |
HEX | 99 | 80 | D3 |
Decimal | 153 | 128 | 211 |
Binary | 10011001 | 10000000 | 11010011 |
Octal | 231 | 200 | 323 |
Examples of css and html codes for elements with #9980D3 color. Also use rgb(153,128,211) instead hex code.
.myTextColor { color: #9980D3; }
<p style="color:#9980D3">This sample text font color is #9980D3.</p>
This text font color is #9980D3.
.myBgColor { background-color: #9980D3; }
<div style="background-color:#9980D3">Inner text</div>
This div background color is #9980D3.
.myBorderColor { border: 1px solid #9980D3; }
<div style="border:3px solid #9980D3">Div</div>
This div border color is #9980D3.
.myOpacity80 { color: #9980D3; opacity: 0.8; }
<p style="color:#9980D3;opacity:0.8;">80%</p>
Text with #9980D3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9980D3;}
<p style="text-shadow: 3px 3px 1px #9980D3">Text here.</p>
This text has shadow with #9980D3 color.
.textShadow {text-shadow: 3px 3px 1px #9980D3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9980D3, 5px 5px 20px red">Text here.</p>
This text has shadow with #9980D3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9980D3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9980D3, Direction=45, Strength=4)">Text</p>
This text has shadow with #9980D3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9980D3; -webkit-box-shadow: 1px 1px 3px 2px #9980D3; box-shadow: 1px 1px 3px 2px #9980D3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9980D3; -webkit-box-shadow: 1px 1px 3px 2px #9980D3; box-shadow:1px 1px 3px 2px #9980D3;">
Div content here</div>
This text has color #9980D3 on black background.
This text has color #9980D3 on white background.
This text has black color on #9980D3 background.
This text has white color on #9980D3 background.