HEX: #996DBD
RGB: (153,109,189)
#996DBD contains mainly red and blue colors. Web safe color of #996DBD is #9966CC (or #96C).
#996DBD color RGB value is (153,109,189).
RGB: (153,109,189) (60%,43%,74%)
R 153 of 255 = 60%
G 109 of 255 = 43%
B 189 of 255 = 74%
R + G + B ~ 59%. #996DBD is middle color (not dark and not light).
R + G + B =
153 + 109 + 189 = 451 (100%)
R 153 of 451 ~ 33.92%
G 109 of 451 ~ 24.17%
B 189 of 451 ~ 41.91%
#996DBD color CMYK value is (19,42,0,26).
CMYK: (19,42,0,26) C19M42Y0K26 (19%,42%,0%,26%) (0.19/0.42/0.00/0.26)
99 | 6D | BD | |
---|---|---|---|
RGB | 153 | 109 | 189 |
HSL | 273° | 37.74% | 58.43% |
HSB/HSV | 273° | 42.33% | 74.12% |
CMYK | 19.05% | 42.33% | 0.00% |
25.88% |
HEX | 99 | 6D | BD |
Decimal | 153 | 109 | 189 |
Binary | 10011001 | 1101101 | 10111101 |
Octal | 231 | 155 | 275 |
Examples of css and html codes for elements with #996DBD color. Also use rgb(153,109,189) instead hex code.
.myTextColor { color: #996DBD; }
<p style="color:#996DBD">This sample text font color is #996DBD.</p>
This text font color is #996DBD.
.myBgColor { background-color: #996DBD; }
<div style="background-color:#996DBD">Inner text</div>
This div background color is #996DBD.
.myBorderColor { border: 1px solid #996DBD; }
<div style="border:3px solid #996DBD">Div</div>
This div border color is #996DBD.
.myOpacity80 { color: #996DBD; opacity: 0.8; }
<p style="color:#996DBD;opacity:0.8;">80%</p>
Text with #996DBD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #996DBD;}
<p style="text-shadow: 3px 3px 1px #996DBD">Text here.</p>
This text has shadow with #996DBD color.
.textShadow {text-shadow: 3px 3px 1px #996DBD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #996DBD, 5px 5px 20px red">Text here.</p>
This text has shadow with #996DBD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#996DBD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#996DBD, Direction=45, Strength=4)">Text</p>
This text has shadow with #996DBD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #996DBD; -webkit-box-shadow: 1px 1px 3px 2px #996DBD; box-shadow: 1px 1px 3px 2px #996DBD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #996DBD; -webkit-box-shadow: 1px 1px 3px 2px #996DBD; box-shadow:1px 1px 3px 2px #996DBD;">
Div content here</div>
This text has color #996DBD on black background.
This text has color #996DBD on white background.
This text has black color on #996DBD background.
This text has white color on #996DBD background.