HEX: #DB787D
RGB: (219,120,125)
#DB787D contains mainly red color. Web safe color of #DB787D is #CC6666 (or #C66).
#DB787D color RGB value is (219,120,125).
RGB: (219,120,125) (86%,47%,49%)
R 219 of 255 = 86%
G 120 of 255 = 47%
B 125 of 255 = 49%
R + G + B ~ 61%. #DB787D is quite light color.
R + G + B =
219 + 120 + 125 = 464 (100%)
R 219 of 464 ~ 47.2%
G 120 of 464 ~ 25.86%
B 125 of 464 ~ 26.94%
#DB787D color CMYK value is (0,45,43,14).
CMYK: (0,45,43,14) C0M45Y43K14 (0%,45%,43%,14%) (0.00/0.45/0.43/0.14)
DB | 78 | 7D | |
---|---|---|---|
RGB | 219 | 120 | 125 |
HSL | 357° | 57.89% | 66.47% |
HSB/HSV | 357° | 45.21% | 85.88% |
CMYK | 0.00% | 45.21% | 42.92% |
14.12% |
HEX | DB | 78 | 7D |
Decimal | 219 | 120 | 125 |
Binary | 11011011 | 1111000 | 1111101 |
Octal | 333 | 170 | 175 |
Examples of css and html codes for elements with #DB787D color. Also use rgb(219,120,125) instead hex code.
.myTextColor { color: #DB787D; }
<p style="color:#DB787D">This sample text font color is #DB787D.</p>
This text font color is #DB787D.
.myBgColor { background-color: #DB787D; }
<div style="background-color:#DB787D">Inner text</div>
This div background color is #DB787D.
.myBorderColor { border: 1px solid #DB787D; }
<div style="border:3px solid #DB787D">Div</div>
This div border color is #DB787D.
.myOpacity80 { color: #DB787D; opacity: 0.8; }
<p style="color:#DB787D;opacity:0.8;">80%</p>
Text with #DB787D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DB787D;}
<p style="text-shadow: 3px 3px 1px #DB787D">Text here.</p>
This text has shadow with #DB787D color.
.textShadow {text-shadow: 3px 3px 1px #DB787D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DB787D, 5px 5px 20px red">Text here.</p>
This text has shadow with #DB787D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DB787D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DB787D, Direction=45, Strength=4)">Text</p>
This text has shadow with #DB787D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DB787D; -webkit-box-shadow: 1px 1px 3px 2px #DB787D; box-shadow: 1px 1px 3px 2px #DB787D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DB787D; -webkit-box-shadow: 1px 1px 3px 2px #DB787D; box-shadow:1px 1px 3px 2px #DB787D;">
Div content here</div>
This text has color #DB787D on black background.
This text has color #DB787D on white background.
This text has black color on #DB787D background.
This text has white color on #DB787D background.