HEX: #DB5C8C
RGB: (219,92,140)
#DB5C8C contains mainly red color. Web safe color of #DB5C8C is #CC6699 (or #C69).
#DB5C8C color RGB value is (219,92,140).
RGB: (219,92,140) (86%,36%,55%)
R 219 of 255 = 86%
G 92 of 255 = 36%
B 140 of 255 = 55%
R + G + B ~ 59%. #DB5C8C is middle color (not dark and not light).
R + G + B =
219 + 92 + 140 = 451 (100%)
R 219 of 451 ~ 48.56%
G 92 of 451 ~ 20.4%
B 140 of 451 ~ 31.04%
#DB5C8C color CMYK value is (0,58,36,14).
CMYK: (0,58,36,14) C0M58Y36K14 (0%,58%,36%,14%) (0.00/0.58/0.36/0.14)
DB | 5C | 8C | |
---|---|---|---|
RGB | 219 | 92 | 140 |
HSL | 337° | 63.82% | 60.98% |
HSB/HSV | 337° | 57.99% | 85.88% |
CMYK | 0.00% | 57.99% | 36.07% |
14.12% |
HEX | DB | 5C | 8C |
Decimal | 219 | 92 | 140 |
Binary | 11011011 | 1011100 | 10001100 |
Octal | 333 | 134 | 214 |
Examples of css and html codes for elements with #DB5C8C color. Also use rgb(219,92,140) instead hex code.
.myTextColor { color: #DB5C8C; }
<p style="color:#DB5C8C">This sample text font color is #DB5C8C.</p>
This text font color is #DB5C8C.
.myBgColor { background-color: #DB5C8C; }
<div style="background-color:#DB5C8C">Inner text</div>
This div background color is #DB5C8C.
.myBorderColor { border: 1px solid #DB5C8C; }
<div style="border:3px solid #DB5C8C">Div</div>
This div border color is #DB5C8C.
.myOpacity80 { color: #DB5C8C; opacity: 0.8; }
<p style="color:#DB5C8C;opacity:0.8;">80%</p>
Text with #DB5C8C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DB5C8C;}
<p style="text-shadow: 3px 3px 1px #DB5C8C">Text here.</p>
This text has shadow with #DB5C8C color.
.textShadow {text-shadow: 3px 3px 1px #DB5C8C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DB5C8C, 5px 5px 20px red">Text here.</p>
This text has shadow with #DB5C8C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DB5C8C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DB5C8C, Direction=45, Strength=4)">Text</p>
This text has shadow with #DB5C8C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DB5C8C; -webkit-box-shadow: 1px 1px 3px 2px #DB5C8C; box-shadow: 1px 1px 3px 2px #DB5C8C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DB5C8C; -webkit-box-shadow: 1px 1px 3px 2px #DB5C8C; box-shadow:1px 1px 3px 2px #DB5C8C;">
Div content here</div>
This text has color #DB5C8C on black background.
This text has color #DB5C8C on white background.
This text has black color on #DB5C8C background.
This text has white color on #DB5C8C background.