HEX: #D48BAB
RGB: (212,139,171)
#D48BAB contains mainly red and blue colors. Web safe color of #D48BAB is #CC9999 (or #C99).
#D48BAB color RGB value is (212,139,171).
RGB: (212,139,171) (83%,55%,67%)
R 212 of 255 = 83%
G 139 of 255 = 55%
B 171 of 255 = 67%
R + G + B ~ 68%. #D48BAB is quite light color.
R + G + B =
212 + 139 + 171 = 522 (100%)
R 212 of 522 ~ 40.61%
G 139 of 522 ~ 26.63%
B 171 of 522 ~ 32.76%
#D48BAB color CMYK value is (0,34,19,17).
CMYK: (0,34,19,17) C0M34Y19K17 (0%,34%,19%,17%) (0.00/0.34/0.19/0.17)
D4 | 8B | AB | |
---|---|---|---|
RGB | 212 | 139 | 171 |
HSL | 334° | 45.91% | 68.82% |
HSB/HSV | 334° | 34.43% | 83.14% |
CMYK | 0.00% | 34.43% | 19.34% |
16.86% |
HEX | D4 | 8B | AB |
Decimal | 212 | 139 | 171 |
Binary | 11010100 | 10001011 | 10101011 |
Octal | 324 | 213 | 253 |
Examples of css and html codes for elements with #D48BAB color. Also use rgb(212,139,171) instead hex code.
.myTextColor { color: #D48BAB; }
<p style="color:#D48BAB">This sample text font color is #D48BAB.</p>
This text font color is #D48BAB.
.myBgColor { background-color: #D48BAB; }
<div style="background-color:#D48BAB">Inner text</div>
This div background color is #D48BAB.
.myBorderColor { border: 1px solid #D48BAB; }
<div style="border:3px solid #D48BAB">Div</div>
This div border color is #D48BAB.
.myOpacity80 { color: #D48BAB; opacity: 0.8; }
<p style="color:#D48BAB;opacity:0.8;">80%</p>
Text with #D48BAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D48BAB;}
<p style="text-shadow: 3px 3px 1px #D48BAB">Text here.</p>
This text has shadow with #D48BAB color.
.textShadow {text-shadow: 3px 3px 1px #D48BAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D48BAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D48BAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D48BAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D48BAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D48BAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D48BAB; -webkit-box-shadow: 1px 1px 3px 2px #D48BAB; box-shadow: 1px 1px 3px 2px #D48BAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D48BAB; -webkit-box-shadow: 1px 1px 3px 2px #D48BAB; box-shadow:1px 1px 3px 2px #D48BAB;">
Div content here</div>
This text has color #D48BAB on black background.
This text has color #D48BAB on white background.
This text has black color on #D48BAB background.
This text has white color on #D48BAB background.