HEX: #A4728A
RGB: (164,114,138)
#A4728A contains red, green and blue colors in about the same proportion. Web safe color of #A4728A is #996699 (or #969).
#A4728A color RGB value is (164,114,138).
RGB: (164,114,138) (64%,45%,54%)
R 164 of 255 = 64%
G 114 of 255 = 45%
B 138 of 255 = 54%
R + G + B ~ 54%. #A4728A is middle color (not dark and not light).
R + G + B =
164 + 114 + 138 = 416 (100%)
R 164 of 416 ~ 39.42%
G 114 of 416 ~ 27.4%
B 138 of 416 ~ 33.17%
#A4728A color CMYK value is (0,30,16,36).
CMYK: (0,30,16,36) C0M30Y16K36 (0%,30%,16%,36%) (0.00/0.30/0.16/0.36)
A4 | 72 | 8A | |
---|---|---|---|
RGB | 164 | 114 | 138 |
HSL | 331° | 21.55% | 54.51% |
HSB/HSV | 331° | 30.49% | 64.31% |
CMYK | 0.00% | 30.49% | 15.85% |
35.69% |
HEX | A4 | 72 | 8A |
Decimal | 164 | 114 | 138 |
Binary | 10100100 | 1110010 | 10001010 |
Octal | 244 | 162 | 212 |
Examples of css and html codes for elements with #A4728A color. Also use rgb(164,114,138) instead hex code.
.myTextColor { color: #A4728A; }
<p style="color:#A4728A">This sample text font color is #A4728A.</p>
This text font color is #A4728A.
.myBgColor { background-color: #A4728A; }
<div style="background-color:#A4728A">Inner text</div>
This div background color is #A4728A.
.myBorderColor { border: 1px solid #A4728A; }
<div style="border:3px solid #A4728A">Div</div>
This div border color is #A4728A.
.myOpacity80 { color: #A4728A; opacity: 0.8; }
<p style="color:#A4728A;opacity:0.8;">80%</p>
Text with #A4728A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A4728A;}
<p style="text-shadow: 3px 3px 1px #A4728A">Text here.</p>
This text has shadow with #A4728A color.
.textShadow {text-shadow: 3px 3px 1px #A4728A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A4728A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A4728A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A4728A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A4728A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A4728A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A4728A; -webkit-box-shadow: 1px 1px 3px 2px #A4728A; box-shadow: 1px 1px 3px 2px #A4728A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A4728A; -webkit-box-shadow: 1px 1px 3px 2px #A4728A; box-shadow:1px 1px 3px 2px #A4728A;">
Div content here</div>
This text has color #A4728A on black background.
This text has color #A4728A on white background.
This text has black color on #A4728A background.
This text has white color on #A4728A background.