HEX: #A56D9B
RGB: (165,109,155)
#A56D9B contains red, green and blue colors in about the same proportion. Web safe color of #A56D9B is #996699 (or #969).
#A56D9B color RGB value is (165,109,155).
RGB: (165,109,155) (65%,43%,61%)
R 165 of 255 = 65%
G 109 of 255 = 43%
B 155 of 255 = 61%
R + G + B ~ 56%. #A56D9B is middle color (not dark and not light).
R + G + B =
165 + 109 + 155 = 429 (100%)
R 165 of 429 ~ 38.46%
G 109 of 429 ~ 25.41%
B 155 of 429 ~ 36.13%
#A56D9B color CMYK value is (0,34,6,35).
CMYK: (0,34,6,35) C0M34Y6K35 (0%,34%,6%,35%) (0.00/0.34/0.06/0.35)
A5 | 6D | 9B | |
---|---|---|---|
RGB | 165 | 109 | 155 |
HSL | 311° | 23.73% | 53.73% |
HSB/HSV | 311° | 33.94% | 64.71% |
CMYK | 0.00% | 33.94% | 6.06% |
35.29% |
HEX | A5 | 6D | 9B |
Decimal | 165 | 109 | 155 |
Binary | 10100101 | 1101101 | 10011011 |
Octal | 245 | 155 | 233 |
Examples of css and html codes for elements with #A56D9B color. Also use rgb(165,109,155) instead hex code.
.myTextColor { color: #A56D9B; }
<p style="color:#A56D9B">This sample text font color is #A56D9B.</p>
This text font color is #A56D9B.
.myBgColor { background-color: #A56D9B; }
<div style="background-color:#A56D9B">Inner text</div>
This div background color is #A56D9B.
.myBorderColor { border: 1px solid #A56D9B; }
<div style="border:3px solid #A56D9B">Div</div>
This div border color is #A56D9B.
.myOpacity80 { color: #A56D9B; opacity: 0.8; }
<p style="color:#A56D9B;opacity:0.8;">80%</p>
Text with #A56D9B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A56D9B;}
<p style="text-shadow: 3px 3px 1px #A56D9B">Text here.</p>
This text has shadow with #A56D9B color.
.textShadow {text-shadow: 3px 3px 1px #A56D9B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A56D9B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A56D9B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A56D9B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A56D9B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A56D9B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A56D9B; -webkit-box-shadow: 1px 1px 3px 2px #A56D9B; box-shadow: 1px 1px 3px 2px #A56D9B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A56D9B; -webkit-box-shadow: 1px 1px 3px 2px #A56D9B; box-shadow:1px 1px 3px 2px #A56D9B;">
Div content here</div>
This text has color #A56D9B on black background.
This text has color #A56D9B on white background.
This text has black color on #A56D9B background.
This text has white color on #A56D9B background.