HEX: #AA6B7D
RGB: (170,107,125)
#AA6B7D contains mainly red and blue colors. Web safe color of #AA6B7D is #996666 (or #966).
#AA6B7D color RGB value is (170,107,125).
RGB: (170,107,125) (67%,42%,49%)
R 170 of 255 = 67%
G 107 of 255 = 42%
B 125 of 255 = 49%
R + G + B ~ 53%. #AA6B7D is middle color (not dark and not light).
R + G + B =
170 + 107 + 125 = 402 (100%)
R 170 of 402 ~ 42.29%
G 107 of 402 ~ 26.62%
B 125 of 402 ~ 31.09%
#AA6B7D color CMYK value is (0,37,26,33).
CMYK: (0,37,26,33) C0M37Y26K33 (0%,37%,26%,33%) (0.00/0.37/0.26/0.33)
AA | 6B | 7D | |
---|---|---|---|
RGB | 170 | 107 | 125 |
HSL | 343° | 27.04% | 54.31% |
HSB/HSV | 343° | 37.06% | 66.67% |
CMYK | 0.00% | 37.06% | 26.47% |
33.33% |
HEX | AA | 6B | 7D |
Decimal | 170 | 107 | 125 |
Binary | 10101010 | 1101011 | 1111101 |
Octal | 252 | 153 | 175 |
Examples of css and html codes for elements with #AA6B7D color. Also use rgb(170,107,125) instead hex code.
.myTextColor { color: #AA6B7D; }
<p style="color:#AA6B7D">This sample text font color is #AA6B7D.</p>
This text font color is #AA6B7D.
.myBgColor { background-color: #AA6B7D; }
<div style="background-color:#AA6B7D">Inner text</div>
This div background color is #AA6B7D.
.myBorderColor { border: 1px solid #AA6B7D; }
<div style="border:3px solid #AA6B7D">Div</div>
This div border color is #AA6B7D.
.myOpacity80 { color: #AA6B7D; opacity: 0.8; }
<p style="color:#AA6B7D;opacity:0.8;">80%</p>
Text with #AA6B7D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA6B7D;}
<p style="text-shadow: 3px 3px 1px #AA6B7D">Text here.</p>
This text has shadow with #AA6B7D color.
.textShadow {text-shadow: 3px 3px 1px #AA6B7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA6B7D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA6B7D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA6B7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA6B7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA6B7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA6B7D; -webkit-box-shadow: 1px 1px 3px 2px #AA6B7D; box-shadow: 1px 1px 3px 2px #AA6B7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA6B7D; -webkit-box-shadow: 1px 1px 3px 2px #AA6B7D; box-shadow:1px 1px 3px 2px #AA6B7D;">
Div content here</div>
This text has color #AA6B7D on black background.
This text has color #AA6B7D on white background.
This text has black color on #AA6B7D background.
This text has white color on #AA6B7D background.