HEX: #AD2D6D
RGB: (173,45,109)
#AD2D6D contains mainly red color. Web safe color of #AD2D6D is #993366 (or #936).
#AD2D6D color RGB value is (173,45,109).
RGB: (173,45,109) (68%,18%,43%)
R 173 of 255 = 68%
G 45 of 255 = 18%
B 109 of 255 = 43%
R + G + B ~ 43%. #AD2D6D is middle color (not dark and not light).
R + G + B =
173 + 45 + 109 = 327 (100%)
R 173 of 327 ~ 52.91%
G 45 of 327 ~ 13.76%
B 109 of 327 ~ 33.33%
#AD2D6D color CMYK value is (0,74,37,32).
CMYK: (0,74,37,32) C0M74Y37K32 (0%,74%,37%,32%) (0.00/0.74/0.37/0.32)
AD | 2D | 6D | |
---|---|---|---|
RGB | 173 | 45 | 109 |
HSL | 330° | 58.72% | 42.75% |
HSB/HSV | 330° | 73.99% | 67.84% |
CMYK | 0.00% | 73.99% | 36.99% |
32.16% |
HEX | AD | 2D | 6D |
Decimal | 173 | 45 | 109 |
Binary | 10101101 | 101101 | 1101101 |
Octal | 255 | 55 | 155 |
Examples of css and html codes for elements with #AD2D6D color. Also use rgb(173,45,109) instead hex code.
.myTextColor { color: #AD2D6D; }
<p style="color:#AD2D6D">This sample text font color is #AD2D6D.</p>
This text font color is #AD2D6D.
.myBgColor { background-color: #AD2D6D; }
<div style="background-color:#AD2D6D">Inner text</div>
This div background color is #AD2D6D.
.myBorderColor { border: 1px solid #AD2D6D; }
<div style="border:3px solid #AD2D6D">Div</div>
This div border color is #AD2D6D.
.myOpacity80 { color: #AD2D6D; opacity: 0.8; }
<p style="color:#AD2D6D;opacity:0.8;">80%</p>
Text with #AD2D6D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD2D6D;}
<p style="text-shadow: 3px 3px 1px #AD2D6D">Text here.</p>
This text has shadow with #AD2D6D color.
.textShadow {text-shadow: 3px 3px 1px #AD2D6D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD2D6D, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD2D6D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD2D6D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD2D6D, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD2D6D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD2D6D; -webkit-box-shadow: 1px 1px 3px 2px #AD2D6D; box-shadow: 1px 1px 3px 2px #AD2D6D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD2D6D; -webkit-box-shadow: 1px 1px 3px 2px #AD2D6D; box-shadow:1px 1px 3px 2px #AD2D6D;">
Div content here</div>
This text has color #AD2D6D on black background.
This text has color #AD2D6D on white background.
This text has black color on #AD2D6D background.
This text has white color on #AD2D6D background.