HEX: #A6618A
RGB: (166,97,138)
#A6618A contains mainly red and blue colors. Web safe color of #A6618A is #996699 (or #969).
#A6618A color RGB value is (166,97,138).
RGB: (166,97,138) (65%,38%,54%)
R 166 of 255 = 65%
G 97 of 255 = 38%
B 138 of 255 = 54%
R + G + B ~ 52%. #A6618A is middle color (not dark and not light).
R + G + B =
166 + 97 + 138 = 401 (100%)
R 166 of 401 ~ 41.4%
G 97 of 401 ~ 24.19%
B 138 of 401 ~ 34.41%
#A6618A color CMYK value is (0,42,17,35).
CMYK: (0,42,17,35) C0M42Y17K35 (0%,42%,17%,35%) (0.00/0.42/0.17/0.35)
A6 | 61 | 8A | |
---|---|---|---|
RGB | 166 | 97 | 138 |
HSL | 324° | 27.94% | 51.57% |
HSB/HSV | 324° | 41.57% | 65.10% |
CMYK | 0.00% | 41.57% | 16.87% |
34.90% |
HEX | A6 | 61 | 8A |
Decimal | 166 | 97 | 138 |
Binary | 10100110 | 1100001 | 10001010 |
Octal | 246 | 141 | 212 |
Examples of css and html codes for elements with #A6618A color. Also use rgb(166,97,138) instead hex code.
.myTextColor { color: #A6618A; }
<p style="color:#A6618A">This sample text font color is #A6618A.</p>
This text font color is #A6618A.
.myBgColor { background-color: #A6618A; }
<div style="background-color:#A6618A">Inner text</div>
This div background color is #A6618A.
.myBorderColor { border: 1px solid #A6618A; }
<div style="border:3px solid #A6618A">Div</div>
This div border color is #A6618A.
.myOpacity80 { color: #A6618A; opacity: 0.8; }
<p style="color:#A6618A;opacity:0.8;">80%</p>
Text with #A6618A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6618A;}
<p style="text-shadow: 3px 3px 1px #A6618A">Text here.</p>
This text has shadow with #A6618A color.
.textShadow {text-shadow: 3px 3px 1px #A6618A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6618A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6618A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6618A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6618A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6618A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6618A; -webkit-box-shadow: 1px 1px 3px 2px #A6618A; box-shadow: 1px 1px 3px 2px #A6618A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6618A; -webkit-box-shadow: 1px 1px 3px 2px #A6618A; box-shadow:1px 1px 3px 2px #A6618A;">
Div content here</div>
This text has color #A6618A on black background.
This text has color #A6618A on white background.
This text has black color on #A6618A background.
This text has white color on #A6618A background.