HEX: #DB6878
RGB: (219,104,120)
#DB6878 contains mainly red color. Web safe color of #DB6878 is #CC6666 (or #C66).
#DB6878 color RGB value is (219,104,120).
RGB: (219,104,120) (86%,41%,47%)
R 219 of 255 = 86%
G 104 of 255 = 41%
B 120 of 255 = 47%
R + G + B ~ 58%. #DB6878 is middle color (not dark and not light).
R + G + B =
219 + 104 + 120 = 443 (100%)
R 219 of 443 ~ 49.44%
G 104 of 443 ~ 23.48%
B 120 of 443 ~ 27.09%
#DB6878 color CMYK value is (0,53,45,14).
CMYK: (0,53,45,14) C0M53Y45K14 (0%,53%,45%,14%) (0.00/0.53/0.45/0.14)
DB | 68 | 78 | |
---|---|---|---|
RGB | 219 | 104 | 120 |
HSL | 352° | 61.50% | 63.33% |
HSB/HSV | 352° | 52.51% | 85.88% |
CMYK | 0.00% | 52.51% | 45.21% |
14.12% |
HEX | DB | 68 | 78 |
Decimal | 219 | 104 | 120 |
Binary | 11011011 | 1101000 | 1111000 |
Octal | 333 | 150 | 170 |
Examples of css and html codes for elements with #DB6878 color. Also use rgb(219,104,120) instead hex code.
.myTextColor { color: #DB6878; }
<p style="color:#DB6878">This sample text font color is #DB6878.</p>
This text font color is #DB6878.
.myBgColor { background-color: #DB6878; }
<div style="background-color:#DB6878">Inner text</div>
This div background color is #DB6878.
.myBorderColor { border: 1px solid #DB6878; }
<div style="border:3px solid #DB6878">Div</div>
This div border color is #DB6878.
.myOpacity80 { color: #DB6878; opacity: 0.8; }
<p style="color:#DB6878;opacity:0.8;">80%</p>
Text with #DB6878 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DB6878;}
<p style="text-shadow: 3px 3px 1px #DB6878">Text here.</p>
This text has shadow with #DB6878 color.
.textShadow {text-shadow: 3px 3px 1px #DB6878, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DB6878, 5px 5px 20px red">Text here.</p>
This text has shadow with #DB6878 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DB6878, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DB6878, Direction=45, Strength=4)">Text</p>
This text has shadow with #DB6878 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DB6878; -webkit-box-shadow: 1px 1px 3px 2px #DB6878; box-shadow: 1px 1px 3px 2px #DB6878; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DB6878; -webkit-box-shadow: 1px 1px 3px 2px #DB6878; box-shadow:1px 1px 3px 2px #DB6878;">
Div content here</div>
This text has color #DB6878 on black background.
This text has color #DB6878 on white background.
This text has black color on #DB6878 background.
This text has white color on #DB6878 background.