HEX: #A6556A
RGB: (166,85,106)
#A6556A contains mainly red color. Web safe color of #A6556A is #996666 (or #966).
#A6556A color RGB value is (166,85,106).
RGB: (166,85,106) (65%,33%,42%)
R 166 of 255 = 65%
G 85 of 255 = 33%
B 106 of 255 = 42%
R + G + B ~ 47%. #A6556A is middle color (not dark and not light).
R + G + B =
166 + 85 + 106 = 357 (100%)
R 166 of 357 ~ 46.5%
G 85 of 357 ~ 23.81%
B 106 of 357 ~ 29.69%
#A6556A color CMYK value is (0,49,36,35).
CMYK: (0,49,36,35) C0M49Y36K35 (0%,49%,36%,35%) (0.00/0.49/0.36/0.35)
A6 | 55 | 6A | |
---|---|---|---|
RGB | 166 | 85 | 106 |
HSL | 344° | 32.27% | 49.22% |
HSB/HSV | 344° | 48.80% | 65.10% |
CMYK | 0.00% | 48.80% | 36.14% |
34.90% |
HEX | A6 | 55 | 6A |
Decimal | 166 | 85 | 106 |
Binary | 10100110 | 1010101 | 1101010 |
Octal | 246 | 125 | 152 |
Examples of css and html codes for elements with #A6556A color. Also use rgb(166,85,106) instead hex code.
.myTextColor { color: #A6556A; }
<p style="color:#A6556A">This sample text font color is #A6556A.</p>
This text font color is #A6556A.
.myBgColor { background-color: #A6556A; }
<div style="background-color:#A6556A">Inner text</div>
This div background color is #A6556A.
.myBorderColor { border: 1px solid #A6556A; }
<div style="border:3px solid #A6556A">Div</div>
This div border color is #A6556A.
.myOpacity80 { color: #A6556A; opacity: 0.8; }
<p style="color:#A6556A;opacity:0.8;">80%</p>
Text with #A6556A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6556A;}
<p style="text-shadow: 3px 3px 1px #A6556A">Text here.</p>
This text has shadow with #A6556A color.
.textShadow {text-shadow: 3px 3px 1px #A6556A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6556A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6556A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6556A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6556A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6556A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6556A; -webkit-box-shadow: 1px 1px 3px 2px #A6556A; box-shadow: 1px 1px 3px 2px #A6556A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6556A; -webkit-box-shadow: 1px 1px 3px 2px #A6556A; box-shadow:1px 1px 3px 2px #A6556A;">
Div content here</div>
This text has color #A6556A on black background.
This text has color #A6556A on white background.
This text has black color on #A6556A background.
This text has white color on #A6556A background.