HEX: #A74796
RGB: (167,71,150)
#A74796 contains mainly red and blue colors. Web safe color of #A74796 is #993399 (or #939).
#A74796 color RGB value is (167,71,150).
RGB: (167,71,150) (65%,28%,59%)
R 167 of 255 = 65%
G 71 of 255 = 28%
B 150 of 255 = 59%
R + G + B ~ 51%. #A74796 is middle color (not dark and not light).
R + G + B =
167 + 71 + 150 = 388 (100%)
R 167 of 388 ~ 43.04%
G 71 of 388 ~ 18.3%
B 150 of 388 ~ 38.66%
#A74796 color CMYK value is (0,57,10,35).
CMYK: (0,57,10,35) C0M57Y10K35 (0%,57%,10%,35%) (0.00/0.57/0.10/0.35)
A7 | 47 | 96 | |
---|---|---|---|
RGB | 167 | 71 | 150 |
HSL | 311° | 40.34% | 46.67% |
HSB/HSV | 311° | 57.49% | 65.49% |
CMYK | 0.00% | 57.49% | 10.18% |
34.51% |
HEX | A7 | 47 | 96 |
Decimal | 167 | 71 | 150 |
Binary | 10100111 | 1000111 | 10010110 |
Octal | 247 | 107 | 226 |
Examples of css and html codes for elements with #A74796 color. Also use rgb(167,71,150) instead hex code.
.myTextColor { color: #A74796; }
<p style="color:#A74796">This sample text font color is #A74796.</p>
This text font color is #A74796.
.myBgColor { background-color: #A74796; }
<div style="background-color:#A74796">Inner text</div>
This div background color is #A74796.
.myBorderColor { border: 1px solid #A74796; }
<div style="border:3px solid #A74796">Div</div>
This div border color is #A74796.
.myOpacity80 { color: #A74796; opacity: 0.8; }
<p style="color:#A74796;opacity:0.8;">80%</p>
Text with #A74796 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A74796;}
<p style="text-shadow: 3px 3px 1px #A74796">Text here.</p>
This text has shadow with #A74796 color.
.textShadow {text-shadow: 3px 3px 1px #A74796, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A74796, 5px 5px 20px red">Text here.</p>
This text has shadow with #A74796 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A74796, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A74796, Direction=45, Strength=4)">Text</p>
This text has shadow with #A74796 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A74796; -webkit-box-shadow: 1px 1px 3px 2px #A74796; box-shadow: 1px 1px 3px 2px #A74796; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A74796; -webkit-box-shadow: 1px 1px 3px 2px #A74796; box-shadow:1px 1px 3px 2px #A74796;">
Div content here</div>
This text has color #A74796 on black background.
This text has color #A74796 on white background.
This text has black color on #A74796 background.
This text has white color on #A74796 background.