HEX: #D4BADC
RGB: (212,186,220)
#D4BADC contains red, green and blue colors in about the same proportion. Web safe color of #D4BADC is #CCCCCC (or #CCC).
#D4BADC color RGB value is (212,186,220).
RGB: (212,186,220) (83%,73%,86%)
R 212 of 255 = 83%
G 186 of 255 = 73%
B 220 of 255 = 86%
R + G + B ~ 81%. #D4BADC is quite light color.
R + G + B =
212 + 186 + 220 = 618 (100%)
R 212 of 618 ~ 34.3%
G 186 of 618 ~ 30.1%
B 220 of 618 ~ 35.6%
#D4BADC color CMYK value is (4,15,0,14).
CMYK: (4,15,0,14) C4M15Y0K14 (4%,15%,0%,14%) (0.04/0.15/0.00/0.14)
D4 | BA | DC | |
---|---|---|---|
RGB | 212 | 186 | 220 |
HSL | 286° | 32.69% | 79.61% |
HSB/HSV | 286° | 15.45% | 86.27% |
CMYK | 3.64% | 15.45% | 0.00% |
13.73% |
HEX | D4 | BA | DC |
Decimal | 212 | 186 | 220 |
Binary | 11010100 | 10111010 | 11011100 |
Octal | 324 | 272 | 334 |
Examples of css and html codes for elements with #D4BADC color. Also use rgb(212,186,220) instead hex code.
.myTextColor { color: #D4BADC; }
<p style="color:#D4BADC">This sample text font color is #D4BADC.</p>
This text font color is #D4BADC.
.myBgColor { background-color: #D4BADC; }
<div style="background-color:#D4BADC">Inner text</div>
This div background color is #D4BADC.
.myBorderColor { border: 1px solid #D4BADC; }
<div style="border:3px solid #D4BADC">Div</div>
This div border color is #D4BADC.
.myOpacity80 { color: #D4BADC; opacity: 0.8; }
<p style="color:#D4BADC;opacity:0.8;">80%</p>
Text with #D4BADC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4BADC;}
<p style="text-shadow: 3px 3px 1px #D4BADC">Text here.</p>
This text has shadow with #D4BADC color.
.textShadow {text-shadow: 3px 3px 1px #D4BADC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4BADC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4BADC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4BADC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4BADC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4BADC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4BADC; -webkit-box-shadow: 1px 1px 3px 2px #D4BADC; box-shadow: 1px 1px 3px 2px #D4BADC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4BADC; -webkit-box-shadow: 1px 1px 3px 2px #D4BADC; box-shadow:1px 1px 3px 2px #D4BADC;">
Div content here</div>
This text has color #D4BADC on black background.
This text has color #D4BADC on white background.
This text has black color on #D4BADC background.
This text has white color on #D4BADC background.