HEX: #D338AD
RGB: (211,56,173)
#D338AD contains mainly red and blue colors. Web safe color of #D338AD is #CC3399 (or #C39).
#D338AD color RGB value is (211,56,173).
RGB: (211,56,173) (83%,22%,68%)
R 211 of 255 = 83%
G 56 of 255 = 22%
B 173 of 255 = 68%
R + G + B ~ 58%. #D338AD is middle color (not dark and not light).
R + G + B =
211 + 56 + 173 = 440 (100%)
R 211 of 440 ~ 47.95%
G 56 of 440 ~ 12.73%
B 173 of 440 ~ 39.32%
#D338AD color CMYK value is (0,73,18,17).
CMYK: (0,73,18,17) C0M73Y18K17 (0%,73%,18%,17%) (0.00/0.73/0.18/0.17)
D3 | 38 | AD | |
---|---|---|---|
RGB | 211 | 56 | 173 |
HSL | 315° | 63.79% | 52.35% |
HSB/HSV | 315° | 73.46% | 82.75% |
CMYK | 0.00% | 73.46% | 18.01% |
17.25% |
HEX | D3 | 38 | AD |
Decimal | 211 | 56 | 173 |
Binary | 11010011 | 111000 | 10101101 |
Octal | 323 | 70 | 255 |
Examples of css and html codes for elements with #D338AD color. Also use rgb(211,56,173) instead hex code.
.myTextColor { color: #D338AD; }
<p style="color:#D338AD">This sample text font color is #D338AD.</p>
This text font color is #D338AD.
.myBgColor { background-color: #D338AD; }
<div style="background-color:#D338AD">Inner text</div>
This div background color is #D338AD.
.myBorderColor { border: 1px solid #D338AD; }
<div style="border:3px solid #D338AD">Div</div>
This div border color is #D338AD.
.myOpacity80 { color: #D338AD; opacity: 0.8; }
<p style="color:#D338AD;opacity:0.8;">80%</p>
Text with #D338AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D338AD;}
<p style="text-shadow: 3px 3px 1px #D338AD">Text here.</p>
This text has shadow with #D338AD color.
.textShadow {text-shadow: 3px 3px 1px #D338AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D338AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D338AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D338AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D338AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D338AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D338AD; -webkit-box-shadow: 1px 1px 3px 2px #D338AD; box-shadow: 1px 1px 3px 2px #D338AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D338AD; -webkit-box-shadow: 1px 1px 3px 2px #D338AD; box-shadow:1px 1px 3px 2px #D338AD;">
Div content here</div>
This text has color #D338AD on black background.
This text has color #D338AD on white background.
This text has black color on #D338AD background.
This text has white color on #D338AD background.