HEX: #D780AF
RGB: (215,128,175)
#D780AF contains mainly red and blue colors. Web safe color of #D780AF is #CC6699 (or #C69).
#D780AF color RGB value is (215,128,175).
RGB: (215,128,175) (84%,50%,69%)
R 215 of 255 = 84%
G 128 of 255 = 50%
B 175 of 255 = 69%
R + G + B ~ 68%. #D780AF is quite light color.
R + G + B =
215 + 128 + 175 = 518 (100%)
R 215 of 518 ~ 41.51%
G 128 of 518 ~ 24.71%
B 175 of 518 ~ 33.78%
#D780AF color CMYK value is (0,40,19,16).
CMYK: (0,40,19,16) C0M40Y19K16 (0%,40%,19%,16%) (0.00/0.40/0.19/0.16)
D7 | 80 | AF | |
---|---|---|---|
RGB | 215 | 128 | 175 |
HSL | 328° | 52.10% | 67.25% |
HSB/HSV | 328° | 40.47% | 84.31% |
CMYK | 0.00% | 40.47% | 18.60% |
15.69% |
HEX | D7 | 80 | AF |
Decimal | 215 | 128 | 175 |
Binary | 11010111 | 10000000 | 10101111 |
Octal | 327 | 200 | 257 |
Examples of css and html codes for elements with #D780AF color. Also use rgb(215,128,175) instead hex code.
.myTextColor { color: #D780AF; }
<p style="color:#D780AF">This sample text font color is #D780AF.</p>
This text font color is #D780AF.
.myBgColor { background-color: #D780AF; }
<div style="background-color:#D780AF">Inner text</div>
This div background color is #D780AF.
.myBorderColor { border: 1px solid #D780AF; }
<div style="border:3px solid #D780AF">Div</div>
This div border color is #D780AF.
.myOpacity80 { color: #D780AF; opacity: 0.8; }
<p style="color:#D780AF;opacity:0.8;">80%</p>
Text with #D780AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D780AF;}
<p style="text-shadow: 3px 3px 1px #D780AF">Text here.</p>
This text has shadow with #D780AF color.
.textShadow {text-shadow: 3px 3px 1px #D780AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D780AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D780AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D780AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D780AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D780AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D780AF; -webkit-box-shadow: 1px 1px 3px 2px #D780AF; box-shadow: 1px 1px 3px 2px #D780AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D780AF; -webkit-box-shadow: 1px 1px 3px 2px #D780AF; box-shadow:1px 1px 3px 2px #D780AF;">
Div content here</div>
This text has color #D780AF on black background.
This text has color #D780AF on white background.
This text has black color on #D780AF background.
This text has white color on #D780AF background.