HEX: #957AAF
RGB: (149,122,175)
#957AAF contains red, green and blue colors in about the same proportion. Web safe color of #957AAF is #996699 (or #969).
#957AAF color RGB value is (149,122,175).
RGB: (149,122,175) (58%,48%,69%)
R 149 of 255 = 58%
G 122 of 255 = 48%
B 175 of 255 = 69%
R + G + B ~ 58%. #957AAF is middle color (not dark and not light).
R + G + B =
149 + 122 + 175 = 446 (100%)
R 149 of 446 ~ 33.41%
G 122 of 446 ~ 27.35%
B 175 of 446 ~ 39.24%
#957AAF color CMYK value is (15,30,0,31).
CMYK: (15,30,0,31) C15M30Y0K31 (15%,30%,0%,31%) (0.15/0.30/0.00/0.31)
95 | 7A | AF | |
---|---|---|---|
RGB | 149 | 122 | 175 |
HSL | 271° | 24.88% | 58.24% |
HSB/HSV | 271° | 30.29% | 68.63% |
CMYK | 14.86% | 30.29% | 0.00% |
31.37% |
HEX | 95 | 7A | AF |
Decimal | 149 | 122 | 175 |
Binary | 10010101 | 1111010 | 10101111 |
Octal | 225 | 172 | 257 |
Examples of css and html codes for elements with #957AAF color. Also use rgb(149,122,175) instead hex code.
.myTextColor { color: #957AAF; }
<p style="color:#957AAF">This sample text font color is #957AAF.</p>
This text font color is #957AAF.
.myBgColor { background-color: #957AAF; }
<div style="background-color:#957AAF">Inner text</div>
This div background color is #957AAF.
.myBorderColor { border: 1px solid #957AAF; }
<div style="border:3px solid #957AAF">Div</div>
This div border color is #957AAF.
.myOpacity80 { color: #957AAF; opacity: 0.8; }
<p style="color:#957AAF;opacity:0.8;">80%</p>
Text with #957AAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #957AAF;}
<p style="text-shadow: 3px 3px 1px #957AAF">Text here.</p>
This text has shadow with #957AAF color.
.textShadow {text-shadow: 3px 3px 1px #957AAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #957AAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #957AAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#957AAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#957AAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #957AAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #957AAF; -webkit-box-shadow: 1px 1px 3px 2px #957AAF; box-shadow: 1px 1px 3px 2px #957AAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #957AAF; -webkit-box-shadow: 1px 1px 3px 2px #957AAF; box-shadow:1px 1px 3px 2px #957AAF;">
Div content here</div>
This text has color #957AAF on black background.
This text has color #957AAF on white background.
This text has black color on #957AAF background.
This text has white color on #957AAF background.