HEX: #DB96C2
RGB: (219,150,194)
#DB96C2 contains mainly red and blue colors. Web safe color of #DB96C2 is #CC99CC (or #C9C).
#DB96C2 color RGB value is (219,150,194).
RGB: (219,150,194) (86%,59%,76%)
R 219 of 255 = 86%
G 150 of 255 = 59%
B 194 of 255 = 76%
R + G + B ~ 74%. #DB96C2 is quite light color.
R + G + B =
219 + 150 + 194 = 563 (100%)
R 219 of 563 ~ 38.9%
G 150 of 563 ~ 26.64%
B 194 of 563 ~ 34.46%
#DB96C2 color CMYK value is (0,32,11,14).
CMYK: (0,32,11,14) C0M32Y11K14 (0%,32%,11%,14%) (0.00/0.32/0.11/0.14)
DB | 96 | C2 | |
---|---|---|---|
RGB | 219 | 150 | 194 |
HSL | 322° | 48.94% | 72.35% |
HSB/HSV | 322° | 31.51% | 85.88% |
CMYK | 0.00% | 31.51% | 11.42% |
14.12% |
HEX | DB | 96 | C2 |
Decimal | 219 | 150 | 194 |
Binary | 11011011 | 10010110 | 11000010 |
Octal | 333 | 226 | 302 |
Examples of css and html codes for elements with #DB96C2 color. Also use rgb(219,150,194) instead hex code.
.myTextColor { color: #DB96C2; }
<p style="color:#DB96C2">This sample text font color is #DB96C2.</p>
This text font color is #DB96C2.
.myBgColor { background-color: #DB96C2; }
<div style="background-color:#DB96C2">Inner text</div>
This div background color is #DB96C2.
.myBorderColor { border: 1px solid #DB96C2; }
<div style="border:3px solid #DB96C2">Div</div>
This div border color is #DB96C2.
.myOpacity80 { color: #DB96C2; opacity: 0.8; }
<p style="color:#DB96C2;opacity:0.8;">80%</p>
Text with #DB96C2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DB96C2;}
<p style="text-shadow: 3px 3px 1px #DB96C2">Text here.</p>
This text has shadow with #DB96C2 color.
.textShadow {text-shadow: 3px 3px 1px #DB96C2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DB96C2, 5px 5px 20px red">Text here.</p>
This text has shadow with #DB96C2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DB96C2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DB96C2, Direction=45, Strength=4)">Text</p>
This text has shadow with #DB96C2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DB96C2; -webkit-box-shadow: 1px 1px 3px 2px #DB96C2; box-shadow: 1px 1px 3px 2px #DB96C2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DB96C2; -webkit-box-shadow: 1px 1px 3px 2px #DB96C2; box-shadow:1px 1px 3px 2px #DB96C2;">
Div content here</div>
This text has color #DB96C2 on black background.
This text has color #DB96C2 on white background.
This text has black color on #DB96C2 background.
This text has white color on #DB96C2 background.