HEX: #AD5CC9
RGB: (173,92,201)
#AD5CC9 contains mainly red and blue colors. Web safe color of #AD5CC9 is #9966CC (or #96C).
#AD5CC9 color RGB value is (173,92,201).
RGB: (173,92,201) (68%,36%,79%)
R 173 of 255 = 68%
G 92 of 255 = 36%
B 201 of 255 = 79%
R + G + B ~ 61%. #AD5CC9 is quite light color.
R + G + B =
173 + 92 + 201 = 466 (100%)
R 173 of 466 ~ 37.12%
G 92 of 466 ~ 19.74%
B 201 of 466 ~ 43.13%
#AD5CC9 color CMYK value is (14,54,0,21).
CMYK: (14,54,0,21) C14M54Y0K21 (14%,54%,0%,21%) (0.14/0.54/0.00/0.21)
AD | 5C | C9 | |
---|---|---|---|
RGB | 173 | 92 | 201 |
HSL | 285° | 50.23% | 57.45% |
HSB/HSV | 285° | 54.23% | 78.82% |
CMYK | 13.93% | 54.23% | 0.00% |
21.18% |
HEX | AD | 5C | C9 |
Decimal | 173 | 92 | 201 |
Binary | 10101101 | 1011100 | 11001001 |
Octal | 255 | 134 | 311 |
Examples of css and html codes for elements with #AD5CC9 color. Also use rgb(173,92,201) instead hex code.
.myTextColor { color: #AD5CC9; }
<p style="color:#AD5CC9">This sample text font color is #AD5CC9.</p>
This text font color is #AD5CC9.
.myBgColor { background-color: #AD5CC9; }
<div style="background-color:#AD5CC9">Inner text</div>
This div background color is #AD5CC9.
.myBorderColor { border: 1px solid #AD5CC9; }
<div style="border:3px solid #AD5CC9">Div</div>
This div border color is #AD5CC9.
.myOpacity80 { color: #AD5CC9; opacity: 0.8; }
<p style="color:#AD5CC9;opacity:0.8;">80%</p>
Text with #AD5CC9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD5CC9;}
<p style="text-shadow: 3px 3px 1px #AD5CC9">Text here.</p>
This text has shadow with #AD5CC9 color.
.textShadow {text-shadow: 3px 3px 1px #AD5CC9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD5CC9, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD5CC9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD5CC9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD5CC9, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD5CC9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD5CC9; -webkit-box-shadow: 1px 1px 3px 2px #AD5CC9; box-shadow: 1px 1px 3px 2px #AD5CC9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD5CC9; -webkit-box-shadow: 1px 1px 3px 2px #AD5CC9; box-shadow:1px 1px 3px 2px #AD5CC9;">
Div content here</div>
This text has color #AD5CC9 on black background.
This text has color #AD5CC9 on white background.
This text has black color on #AD5CC9 background.
This text has white color on #AD5CC9 background.