HEX: #9B7DAF
RGB: (155,125,175)
#9B7DAF contains red, green and blue colors in about the same proportion. Web safe color of #9B7DAF is #996699 (or #969).
#9B7DAF color RGB value is (155,125,175).
RGB: (155,125,175) (61%,49%,69%)
R 155 of 255 = 61%
G 125 of 255 = 49%
B 175 of 255 = 69%
R + G + B ~ 60%. #9B7DAF is middle color (not dark and not light).
R + G + B =
155 + 125 + 175 = 455 (100%)
R 155 of 455 ~ 34.07%
G 125 of 455 ~ 27.47%
B 175 of 455 ~ 38.46%
#9B7DAF color CMYK value is (11,29,0,31).
CMYK: (11,29,0,31) C11M29Y0K31 (11%,29%,0%,31%) (0.11/0.29/0.00/0.31)
9B | 7D | AF | |
---|---|---|---|
RGB | 155 | 125 | 175 |
HSL | 276° | 23.81% | 58.82% |
HSB/HSV | 276° | 28.57% | 68.63% |
CMYK | 11.43% | 28.57% | 0.00% |
31.37% |
HEX | 9B | 7D | AF |
Decimal | 155 | 125 | 175 |
Binary | 10011011 | 1111101 | 10101111 |
Octal | 233 | 175 | 257 |
Examples of css and html codes for elements with #9B7DAF color. Also use rgb(155,125,175) instead hex code.
.myTextColor { color: #9B7DAF; }
<p style="color:#9B7DAF">This sample text font color is #9B7DAF.</p>
This text font color is #9B7DAF.
.myBgColor { background-color: #9B7DAF; }
<div style="background-color:#9B7DAF">Inner text</div>
This div background color is #9B7DAF.
.myBorderColor { border: 1px solid #9B7DAF; }
<div style="border:3px solid #9B7DAF">Div</div>
This div border color is #9B7DAF.
.myOpacity80 { color: #9B7DAF; opacity: 0.8; }
<p style="color:#9B7DAF;opacity:0.8;">80%</p>
Text with #9B7DAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B7DAF;}
<p style="text-shadow: 3px 3px 1px #9B7DAF">Text here.</p>
This text has shadow with #9B7DAF color.
.textShadow {text-shadow: 3px 3px 1px #9B7DAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B7DAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #9B7DAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B7DAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B7DAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B7DAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B7DAF; -webkit-box-shadow: 1px 1px 3px 2px #9B7DAF; box-shadow: 1px 1px 3px 2px #9B7DAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B7DAF; -webkit-box-shadow: 1px 1px 3px 2px #9B7DAF; box-shadow:1px 1px 3px 2px #9B7DAF;">
Div content here</div>
This text has color #9B7DAF on black background.
This text has color #9B7DAF on white background.
This text has black color on #9B7DAF background.
This text has white color on #9B7DAF background.