HEX: #A68ABC
RGB: (166,138,188)
#A68ABC contains red, green and blue colors in about the same proportion. Web safe color of #A68ABC is #9999CC (or #99C).
#A68ABC color RGB value is (166,138,188).
RGB: (166,138,188) (65%,54%,74%)
R 166 of 255 = 65%
G 138 of 255 = 54%
B 188 of 255 = 74%
R + G + B ~ 64%. #A68ABC is quite light color.
R + G + B =
166 + 138 + 188 = 492 (100%)
R 166 of 492 ~ 33.74%
G 138 of 492 ~ 28.05%
B 188 of 492 ~ 38.21%
#A68ABC color CMYK value is (12,27,0,26).
CMYK: (12,27,0,26) C12M27Y0K26 (12%,27%,0%,26%) (0.12/0.27/0.00/0.26)
A6 | 8A | BC | |
---|---|---|---|
RGB | 166 | 138 | 188 |
HSL | 274° | 27.17% | 63.92% |
HSB/HSV | 274° | 26.60% | 73.73% |
CMYK | 11.70% | 26.60% | 0.00% |
26.27% |
HEX | A6 | 8A | BC |
Decimal | 166 | 138 | 188 |
Binary | 10100110 | 10001010 | 10111100 |
Octal | 246 | 212 | 274 |
Examples of css and html codes for elements with #A68ABC color. Also use rgb(166,138,188) instead hex code.
.myTextColor { color: #A68ABC; }
<p style="color:#A68ABC">This sample text font color is #A68ABC.</p>
This text font color is #A68ABC.
.myBgColor { background-color: #A68ABC; }
<div style="background-color:#A68ABC">Inner text</div>
This div background color is #A68ABC.
.myBorderColor { border: 1px solid #A68ABC; }
<div style="border:3px solid #A68ABC">Div</div>
This div border color is #A68ABC.
.myOpacity80 { color: #A68ABC; opacity: 0.8; }
<p style="color:#A68ABC;opacity:0.8;">80%</p>
Text with #A68ABC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A68ABC;}
<p style="text-shadow: 3px 3px 1px #A68ABC">Text here.</p>
This text has shadow with #A68ABC color.
.textShadow {text-shadow: 3px 3px 1px #A68ABC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A68ABC, 5px 5px 20px red">Text here.</p>
This text has shadow with #A68ABC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A68ABC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A68ABC, Direction=45, Strength=4)">Text</p>
This text has shadow with #A68ABC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A68ABC; -webkit-box-shadow: 1px 1px 3px 2px #A68ABC; box-shadow: 1px 1px 3px 2px #A68ABC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A68ABC; -webkit-box-shadow: 1px 1px 3px 2px #A68ABC; box-shadow:1px 1px 3px 2px #A68ABC;">
Div content here</div>
This text has color #A68ABC on black background.
This text has color #A68ABC on white background.
This text has black color on #A68ABC background.
This text has white color on #A68ABC background.