HEX: #964DAF
RGB: (150,77,175)
#964DAF contains mainly red and blue colors. Web safe color of #964DAF is #993399 (or #939).
#964DAF color RGB value is (150,77,175).
RGB: (150,77,175) (59%,30%,69%)
R 150 of 255 = 59%
G 77 of 255 = 30%
B 175 of 255 = 69%
R + G + B ~ 53%. #964DAF is middle color (not dark and not light).
R + G + B =
150 + 77 + 175 = 402 (100%)
R 150 of 402 ~ 37.31%
G 77 of 402 ~ 19.15%
B 175 of 402 ~ 43.53%
#964DAF color CMYK value is (14,56,0,31).
CMYK: (14,56,0,31) C14M56Y0K31 (14%,56%,0%,31%) (0.14/0.56/0.00/0.31)
96 | 4D | AF | |
---|---|---|---|
RGB | 150 | 77 | 175 |
HSL | 285° | 38.89% | 49.41% |
HSB/HSV | 285° | 56.00% | 68.63% |
CMYK | 14.29% | 56.00% | 0.00% |
31.37% |
HEX | 96 | 4D | AF |
Decimal | 150 | 77 | 175 |
Binary | 10010110 | 1001101 | 10101111 |
Octal | 226 | 115 | 257 |
Examples of css and html codes for elements with #964DAF color. Also use rgb(150,77,175) instead hex code.
.myTextColor { color: #964DAF; }
<p style="color:#964DAF">This sample text font color is #964DAF.</p>
This text font color is #964DAF.
.myBgColor { background-color: #964DAF; }
<div style="background-color:#964DAF">Inner text</div>
This div background color is #964DAF.
.myBorderColor { border: 1px solid #964DAF; }
<div style="border:3px solid #964DAF">Div</div>
This div border color is #964DAF.
.myOpacity80 { color: #964DAF; opacity: 0.8; }
<p style="color:#964DAF;opacity:0.8;">80%</p>
Text with #964DAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #964DAF;}
<p style="text-shadow: 3px 3px 1px #964DAF">Text here.</p>
This text has shadow with #964DAF color.
.textShadow {text-shadow: 3px 3px 1px #964DAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #964DAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #964DAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#964DAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#964DAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #964DAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #964DAF; -webkit-box-shadow: 1px 1px 3px 2px #964DAF; box-shadow: 1px 1px 3px 2px #964DAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #964DAF; -webkit-box-shadow: 1px 1px 3px 2px #964DAF; box-shadow:1px 1px 3px 2px #964DAF;">
Div content here</div>
This text has color #964DAF on black background.
This text has color #964DAF on white background.
This text has black color on #964DAF background.
This text has white color on #964DAF background.