HEX: #AD74CA
RGB: (173,116,202)
#AD74CA contains mainly red and blue colors. Web safe color of #AD74CA is #9966CC (or #96C).
#AD74CA color RGB value is (173,116,202).
RGB: (173,116,202) (68%,45%,79%)
R 173 of 255 = 68%
G 116 of 255 = 45%
B 202 of 255 = 79%
R + G + B ~ 64%. #AD74CA is quite light color.
R + G + B =
173 + 116 + 202 = 491 (100%)
R 173 of 491 ~ 35.23%
G 116 of 491 ~ 23.63%
B 202 of 491 ~ 41.14%
#AD74CA color CMYK value is (14,43,0,21).
CMYK: (14,43,0,21) C14M43Y0K21 (14%,43%,0%,21%) (0.14/0.43/0.00/0.21)
AD | 74 | CA | |
---|---|---|---|
RGB | 173 | 116 | 202 |
HSL | 280° | 44.79% | 62.35% |
HSB/HSV | 280° | 42.57% | 79.22% |
CMYK | 14.36% | 42.57% | 0.00% |
20.78% |
HEX | AD | 74 | CA |
Decimal | 173 | 116 | 202 |
Binary | 10101101 | 1110100 | 11001010 |
Octal | 255 | 164 | 312 |
Examples of css and html codes for elements with #AD74CA color. Also use rgb(173,116,202) instead hex code.
.myTextColor { color: #AD74CA; }
<p style="color:#AD74CA">This sample text font color is #AD74CA.</p>
This text font color is #AD74CA.
.myBgColor { background-color: #AD74CA; }
<div style="background-color:#AD74CA">Inner text</div>
This div background color is #AD74CA.
.myBorderColor { border: 1px solid #AD74CA; }
<div style="border:3px solid #AD74CA">Div</div>
This div border color is #AD74CA.
.myOpacity80 { color: #AD74CA; opacity: 0.8; }
<p style="color:#AD74CA;opacity:0.8;">80%</p>
Text with #AD74CA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD74CA;}
<p style="text-shadow: 3px 3px 1px #AD74CA">Text here.</p>
This text has shadow with #AD74CA color.
.textShadow {text-shadow: 3px 3px 1px #AD74CA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD74CA, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD74CA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD74CA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD74CA, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD74CA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD74CA; -webkit-box-shadow: 1px 1px 3px 2px #AD74CA; box-shadow: 1px 1px 3px 2px #AD74CA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD74CA; -webkit-box-shadow: 1px 1px 3px 2px #AD74CA; box-shadow:1px 1px 3px 2px #AD74CA;">
Div content here</div>
This text has color #AD74CA on black background.
This text has color #AD74CA on white background.
This text has black color on #AD74CA background.
This text has white color on #AD74CA background.