HEX: #AD185F
RGB: (173,24,95)
#AD185F contains mainly red color. Web safe color of #AD185F is #990066 (or #906).
#AD185F color RGB value is (173,24,95).
RGB: (173,24,95) (68%,9%,37%)
R 173 of 255 = 68%
G 24 of 255 = 9%
B 95 of 255 = 37%
R + G + B ~ 38%. #AD185F is quite dark color.
R + G + B =
173 + 24 + 95 = 292 (100%)
R 173 of 292 ~ 59.25%
G 24 of 292 ~ 8.22%
B 95 of 292 ~ 32.53%
#AD185F color CMYK value is (0,86,45,32).
CMYK: (0,86,45,32) C0M86Y45K32 (0%,86%,45%,32%) (0.00/0.86/0.45/0.32)
AD | 18 | 5F | |
---|---|---|---|
RGB | 173 | 24 | 95 |
HSL | 331° | 75.63% | 38.63% |
HSB/HSV | 331° | 86.13% | 67.84% |
CMYK | 0.00% | 86.13% | 45.09% |
32.16% |
HEX | AD | 18 | 5F |
Decimal | 173 | 24 | 95 |
Binary | 10101101 | 11000 | 1011111 |
Octal | 255 | 30 | 137 |
Examples of css and html codes for elements with #AD185F color. Also use rgb(173,24,95) instead hex code.
.myTextColor { color: #AD185F; }
<p style="color:#AD185F">This sample text font color is #AD185F.</p>
This text font color is #AD185F.
.myBgColor { background-color: #AD185F; }
<div style="background-color:#AD185F">Inner text</div>
This div background color is #AD185F.
.myBorderColor { border: 1px solid #AD185F; }
<div style="border:3px solid #AD185F">Div</div>
This div border color is #AD185F.
.myOpacity80 { color: #AD185F; opacity: 0.8; }
<p style="color:#AD185F;opacity:0.8;">80%</p>
Text with #AD185F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD185F;}
<p style="text-shadow: 3px 3px 1px #AD185F">Text here.</p>
This text has shadow with #AD185F color.
.textShadow {text-shadow: 3px 3px 1px #AD185F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD185F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD185F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD185F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD185F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD185F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD185F; -webkit-box-shadow: 1px 1px 3px 2px #AD185F; box-shadow: 1px 1px 3px 2px #AD185F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD185F; -webkit-box-shadow: 1px 1px 3px 2px #AD185F; box-shadow:1px 1px 3px 2px #AD185F;">
Div content here</div>
This text has color #AD185F on black background.
This text has color #AD185F on white background.
This text has black color on #AD185F background.
This text has white color on #AD185F background.