HEX: #AD2C79
RGB: (173,44,121)
#AD2C79 contains mainly red and blue colors. Web safe color of #AD2C79 is #993366 (or #936).
#AD2C79 color RGB value is (173,44,121).
RGB: (173,44,121) (68%,17%,47%)
R 173 of 255 = 68%
G 44 of 255 = 17%
B 121 of 255 = 47%
R + G + B ~ 44%. #AD2C79 is middle color (not dark and not light).
R + G + B =
173 + 44 + 121 = 338 (100%)
R 173 of 338 ~ 51.18%
G 44 of 338 ~ 13.02%
B 121 of 338 ~ 35.8%
#AD2C79 color CMYK value is (0,75,30,32).
CMYK: (0,75,30,32) C0M75Y30K32 (0%,75%,30%,32%) (0.00/0.75/0.30/0.32)
AD | 2C | 79 | |
---|---|---|---|
RGB | 173 | 44 | 121 |
HSL | 324° | 59.45% | 42.55% |
HSB/HSV | 324° | 74.57% | 67.84% |
CMYK | 0.00% | 74.57% | 30.06% |
32.16% |
HEX | AD | 2C | 79 |
Decimal | 173 | 44 | 121 |
Binary | 10101101 | 101100 | 1111001 |
Octal | 255 | 54 | 171 |
Examples of css and html codes for elements with #AD2C79 color. Also use rgb(173,44,121) instead hex code.
.myTextColor { color: #AD2C79; }
<p style="color:#AD2C79">This sample text font color is #AD2C79.</p>
This text font color is #AD2C79.
.myBgColor { background-color: #AD2C79; }
<div style="background-color:#AD2C79">Inner text</div>
This div background color is #AD2C79.
.myBorderColor { border: 1px solid #AD2C79; }
<div style="border:3px solid #AD2C79">Div</div>
This div border color is #AD2C79.
.myOpacity80 { color: #AD2C79; opacity: 0.8; }
<p style="color:#AD2C79;opacity:0.8;">80%</p>
Text with #AD2C79 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD2C79;}
<p style="text-shadow: 3px 3px 1px #AD2C79">Text here.</p>
This text has shadow with #AD2C79 color.
.textShadow {text-shadow: 3px 3px 1px #AD2C79, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD2C79, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD2C79 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD2C79, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD2C79, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD2C79 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD2C79; -webkit-box-shadow: 1px 1px 3px 2px #AD2C79; box-shadow: 1px 1px 3px 2px #AD2C79; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD2C79; -webkit-box-shadow: 1px 1px 3px 2px #AD2C79; box-shadow:1px 1px 3px 2px #AD2C79;">
Div content here</div>
This text has color #AD2C79 on black background.
This text has color #AD2C79 on white background.
This text has black color on #AD2C79 background.
This text has white color on #AD2C79 background.