HEX: #D5B2AB
RGB: (213,178,171)
#D5B2AB contains red, green and blue colors in about the same proportion. Web safe color of #D5B2AB is #CC9999 (or #C99).
#D5B2AB color RGB value is (213,178,171).
RGB: (213,178,171) (84%,70%,67%)
R 213 of 255 = 84%
G 178 of 255 = 70%
B 171 of 255 = 67%
R + G + B ~ 74%. #D5B2AB is quite light color.
R + G + B =
213 + 178 + 171 = 562 (100%)
R 213 of 562 ~ 37.9%
G 178 of 562 ~ 31.67%
B 171 of 562 ~ 30.43%
#D5B2AB color CMYK value is (0,16,20,16).
CMYK: (0,16,20,16) C0M16Y20K16 (0%,16%,20%,16%) (0.00/0.16/0.20/0.16)
D5 | B2 | AB | |
---|---|---|---|
RGB | 213 | 178 | 171 |
HSL | 10° | 33.33% | 75.29% |
HSB/HSV | 10° | 19.72% | 83.53% |
CMYK | 0.00% | 16.43% | 19.72% |
16.47% |
HEX | D5 | B2 | AB |
Decimal | 213 | 178 | 171 |
Binary | 11010101 | 10110010 | 10101011 |
Octal | 325 | 262 | 253 |
Examples of css and html codes for elements with #D5B2AB color. Also use rgb(213,178,171) instead hex code.
.myTextColor { color: #D5B2AB; }
<p style="color:#D5B2AB">This sample text font color is #D5B2AB.</p>
This text font color is #D5B2AB.
.myBgColor { background-color: #D5B2AB; }
<div style="background-color:#D5B2AB">Inner text</div>
This div background color is #D5B2AB.
.myBorderColor { border: 1px solid #D5B2AB; }
<div style="border:3px solid #D5B2AB">Div</div>
This div border color is #D5B2AB.
.myOpacity80 { color: #D5B2AB; opacity: 0.8; }
<p style="color:#D5B2AB;opacity:0.8;">80%</p>
Text with #D5B2AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5B2AB;}
<p style="text-shadow: 3px 3px 1px #D5B2AB">Text here.</p>
This text has shadow with #D5B2AB color.
.textShadow {text-shadow: 3px 3px 1px #D5B2AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5B2AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5B2AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5B2AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5B2AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5B2AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5B2AB; -webkit-box-shadow: 1px 1px 3px 2px #D5B2AB; box-shadow: 1px 1px 3px 2px #D5B2AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5B2AB; -webkit-box-shadow: 1px 1px 3px 2px #D5B2AB; box-shadow:1px 1px 3px 2px #D5B2AB;">
Div content here</div>
This text has color #D5B2AB on black background.
This text has color #D5B2AB on white background.
This text has black color on #D5B2AB background.
This text has white color on #D5B2AB background.