HEX: #AD4EC4
RGB: (173,78,196)
#AD4EC4 contains mainly red and blue colors. Web safe color of #AD4EC4 is #9966CC (or #96C).
#AD4EC4 color RGB value is (173,78,196).
RGB: (173,78,196) (68%,31%,77%)
R 173 of 255 = 68%
G 78 of 255 = 31%
B 196 of 255 = 77%
R + G + B ~ 59%. #AD4EC4 is middle color (not dark and not light).
R + G + B =
173 + 78 + 196 = 447 (100%)
R 173 of 447 ~ 38.7%
G 78 of 447 ~ 17.45%
B 196 of 447 ~ 43.85%
#AD4EC4 color CMYK value is (12,60,0,23).
CMYK: (12,60,0,23) C12M60Y0K23 (12%,60%,0%,23%) (0.12/0.60/0.00/0.23)
AD | 4E | C4 | |
---|---|---|---|
RGB | 173 | 78 | 196 |
HSL | 288° | 50.00% | 53.73% |
HSB/HSV | 288° | 60.20% | 76.86% |
CMYK | 11.73% | 60.20% | 0.00% |
23.14% |
HEX | AD | 4E | C4 |
Decimal | 173 | 78 | 196 |
Binary | 10101101 | 1001110 | 11000100 |
Octal | 255 | 116 | 304 |
Examples of css and html codes for elements with #AD4EC4 color. Also use rgb(173,78,196) instead hex code.
.myTextColor { color: #AD4EC4; }
<p style="color:#AD4EC4">This sample text font color is #AD4EC4.</p>
This text font color is #AD4EC4.
.myBgColor { background-color: #AD4EC4; }
<div style="background-color:#AD4EC4">Inner text</div>
This div background color is #AD4EC4.
.myBorderColor { border: 1px solid #AD4EC4; }
<div style="border:3px solid #AD4EC4">Div</div>
This div border color is #AD4EC4.
.myOpacity80 { color: #AD4EC4; opacity: 0.8; }
<p style="color:#AD4EC4;opacity:0.8;">80%</p>
Text with #AD4EC4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD4EC4;}
<p style="text-shadow: 3px 3px 1px #AD4EC4">Text here.</p>
This text has shadow with #AD4EC4 color.
.textShadow {text-shadow: 3px 3px 1px #AD4EC4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD4EC4, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD4EC4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD4EC4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD4EC4, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD4EC4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD4EC4; -webkit-box-shadow: 1px 1px 3px 2px #AD4EC4; box-shadow: 1px 1px 3px 2px #AD4EC4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD4EC4; -webkit-box-shadow: 1px 1px 3px 2px #AD4EC4; box-shadow:1px 1px 3px 2px #AD4EC4;">
Div content here</div>
This text has color #AD4EC4 on black background.
This text has color #AD4EC4 on white background.
This text has black color on #AD4EC4 background.
This text has white color on #AD4EC4 background.