HEX: #9F76BA
RGB: (159,118,186)
#9F76BA contains mainly red and blue colors. Web safe color of #9F76BA is #9966CC (or #96C).
#9F76BA color RGB value is (159,118,186).
RGB: (159,118,186) (62%,46%,73%)
R 159 of 255 = 62%
G 118 of 255 = 46%
B 186 of 255 = 73%
R + G + B ~ 60%. #9F76BA is middle color (not dark and not light).
R + G + B =
159 + 118 + 186 = 463 (100%)
R 159 of 463 ~ 34.34%
G 118 of 463 ~ 25.49%
B 186 of 463 ~ 40.17%
#9F76BA color CMYK value is (15,37,0,27).
CMYK: (15,37,0,27) C15M37Y0K27 (15%,37%,0%,27%) (0.15/0.37/0.00/0.27)
9F | 76 | BA | |
---|---|---|---|
RGB | 159 | 118 | 186 |
HSL | 276° | 33.01% | 59.61% |
HSB/HSV | 276° | 36.56% | 72.94% |
CMYK | 14.52% | 36.56% | 0.00% |
27.06% |
HEX | 9F | 76 | BA |
Decimal | 159 | 118 | 186 |
Binary | 10011111 | 1110110 | 10111010 |
Octal | 237 | 166 | 272 |
Examples of css and html codes for elements with #9F76BA color. Also use rgb(159,118,186) instead hex code.
.myTextColor { color: #9F76BA; }
<p style="color:#9F76BA">This sample text font color is #9F76BA.</p>
This text font color is #9F76BA.
.myBgColor { background-color: #9F76BA; }
<div style="background-color:#9F76BA">Inner text</div>
This div background color is #9F76BA.
.myBorderColor { border: 1px solid #9F76BA; }
<div style="border:3px solid #9F76BA">Div</div>
This div border color is #9F76BA.
.myOpacity80 { color: #9F76BA; opacity: 0.8; }
<p style="color:#9F76BA;opacity:0.8;">80%</p>
Text with #9F76BA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9F76BA;}
<p style="text-shadow: 3px 3px 1px #9F76BA">Text here.</p>
This text has shadow with #9F76BA color.
.textShadow {text-shadow: 3px 3px 1px #9F76BA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9F76BA, 5px 5px 20px red">Text here.</p>
This text has shadow with #9F76BA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9F76BA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9F76BA, Direction=45, Strength=4)">Text</p>
This text has shadow with #9F76BA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9F76BA; -webkit-box-shadow: 1px 1px 3px 2px #9F76BA; box-shadow: 1px 1px 3px 2px #9F76BA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9F76BA; -webkit-box-shadow: 1px 1px 3px 2px #9F76BA; box-shadow:1px 1px 3px 2px #9F76BA;">
Div content here</div>
This text has color #9F76BA on black background.
This text has color #9F76BA on white background.
This text has black color on #9F76BA background.
This text has white color on #9F76BA background.