HEX: #D5838B
RGB: (213,131,139)
#D5838B contains mainly red color. Web safe color of #D5838B is #CC9999 (or #C99).
#D5838B color RGB value is (213,131,139).
RGB: (213,131,139) (84%,51%,55%)
R 213 of 255 = 84%
G 131 of 255 = 51%
B 139 of 255 = 55%
R + G + B ~ 63%. #D5838B is quite light color.
R + G + B =
213 + 131 + 139 = 483 (100%)
R 213 of 483 ~ 44.1%
G 131 of 483 ~ 27.12%
B 139 of 483 ~ 28.78%
#D5838B color CMYK value is (0,38,35,16).
CMYK: (0,38,35,16) C0M38Y35K16 (0%,38%,35%,16%) (0.00/0.38/0.35/0.16)
D5 | 83 | 8B | |
---|---|---|---|
RGB | 213 | 131 | 139 |
HSL | 354° | 49.40% | 67.45% |
HSB/HSV | 354° | 38.50% | 83.53% |
CMYK | 0.00% | 38.50% | 34.74% |
16.47% |
HEX | D5 | 83 | 8B |
Decimal | 213 | 131 | 139 |
Binary | 11010101 | 10000011 | 10001011 |
Octal | 325 | 203 | 213 |
Examples of css and html codes for elements with #D5838B color. Also use rgb(213,131,139) instead hex code.
.myTextColor { color: #D5838B; }
<p style="color:#D5838B">This sample text font color is #D5838B.</p>
This text font color is #D5838B.
.myBgColor { background-color: #D5838B; }
<div style="background-color:#D5838B">Inner text</div>
This div background color is #D5838B.
.myBorderColor { border: 1px solid #D5838B; }
<div style="border:3px solid #D5838B">Div</div>
This div border color is #D5838B.
.myOpacity80 { color: #D5838B; opacity: 0.8; }
<p style="color:#D5838B;opacity:0.8;">80%</p>
Text with #D5838B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5838B;}
<p style="text-shadow: 3px 3px 1px #D5838B">Text here.</p>
This text has shadow with #D5838B color.
.textShadow {text-shadow: 3px 3px 1px #D5838B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5838B, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5838B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5838B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5838B, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5838B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5838B; -webkit-box-shadow: 1px 1px 3px 2px #D5838B; box-shadow: 1px 1px 3px 2px #D5838B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5838B; -webkit-box-shadow: 1px 1px 3px 2px #D5838B; box-shadow:1px 1px 3px 2px #D5838B;">
Div content here</div>
This text has color #D5838B on black background.
This text has color #D5838B on white background.
This text has black color on #D5838B background.
This text has white color on #D5838B background.