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