HEX: #AA6A6A
RGB: (170,106,106)
#AA6A6A contains mainly red color. Web safe color of #AA6A6A is #996666 (or #966).
#AA6A6A color RGB value is (170,106,106).
RGB: (170,106,106) (67%,42%,42%)
R 170 of 255 = 67%
G 106 of 255 = 42%
B 106 of 255 = 42%
R + G + B ~ 50%. #AA6A6A is middle color (not dark and not light).
R + G + B =
170 + 106 + 106 = 382 (100%)
R 170 of 382 ~ 44.5%
G 106 of 382 ~ 27.75%
B 106 of 382 ~ 27.75%
#AA6A6A color CMYK value is (0,38,38,33).
CMYK: (0,38,38,33) C0M38Y38K33 (0%,38%,38%,33%) (0.00/0.38/0.38/0.33)
AA | 6A | 6A | |
---|---|---|---|
RGB | 170 | 106 | 106 |
HSL | 0° | 27.35% | 54.12% |
HSB/HSV | 0° | 37.65% | 66.67% |
CMYK | 0.00% | 37.65% | 37.65% |
33.33% |
HEX | AA | 6A | 6A |
Decimal | 170 | 106 | 106 |
Binary | 10101010 | 1101010 | 1101010 |
Octal | 252 | 152 | 152 |
Examples of css and html codes for elements with #AA6A6A color. Also use rgb(170,106,106) instead hex code.
.myTextColor { color: #AA6A6A; }
<p style="color:#AA6A6A">This sample text font color is #AA6A6A.</p>
This text font color is #AA6A6A.
.myBgColor { background-color: #AA6A6A; }
<div style="background-color:#AA6A6A">Inner text</div>
This div background color is #AA6A6A.
.myBorderColor { border: 1px solid #AA6A6A; }
<div style="border:3px solid #AA6A6A">Div</div>
This div border color is #AA6A6A.
.myOpacity80 { color: #AA6A6A; opacity: 0.8; }
<p style="color:#AA6A6A;opacity:0.8;">80%</p>
Text with #AA6A6A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA6A6A;}
<p style="text-shadow: 3px 3px 1px #AA6A6A">Text here.</p>
This text has shadow with #AA6A6A color.
.textShadow {text-shadow: 3px 3px 1px #AA6A6A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA6A6A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA6A6A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA6A6A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA6A6A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA6A6A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA6A6A; -webkit-box-shadow: 1px 1px 3px 2px #AA6A6A; box-shadow: 1px 1px 3px 2px #AA6A6A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA6A6A; -webkit-box-shadow: 1px 1px 3px 2px #AA6A6A; box-shadow:1px 1px 3px 2px #AA6A6A;">
Div content here</div>
This text has color #AA6A6A on black background.
This text has color #AA6A6A on white background.
This text has black color on #AA6A6A background.
This text has white color on #AA6A6A background.