HEX: #DB5C7A
RGB: (219,92,122)
#DB5C7A contains mainly red color. Web safe color of #DB5C7A is #CC6666 (or #C66).
#DB5C7A color RGB value is (219,92,122).
RGB: (219,92,122) (86%,36%,48%)
R 219 of 255 = 86%
G 92 of 255 = 36%
B 122 of 255 = 48%
R + G + B ~ 57%. #DB5C7A is middle color (not dark and not light).
R + G + B =
219 + 92 + 122 = 433 (100%)
R 219 of 433 ~ 50.58%
G 92 of 433 ~ 21.25%
B 122 of 433 ~ 28.18%
#DB5C7A color CMYK value is (0,58,44,14).
CMYK: (0,58,44,14) C0M58Y44K14 (0%,58%,44%,14%) (0.00/0.58/0.44/0.14)
DB | 5C | 7A | |
---|---|---|---|
RGB | 219 | 92 | 122 |
HSL | 346° | 63.82% | 60.98% |
HSB/HSV | 346° | 57.99% | 85.88% |
CMYK | 0.00% | 57.99% | 44.29% |
14.12% |
HEX | DB | 5C | 7A |
Decimal | 219 | 92 | 122 |
Binary | 11011011 | 1011100 | 1111010 |
Octal | 333 | 134 | 172 |
Examples of css and html codes for elements with #DB5C7A color. Also use rgb(219,92,122) instead hex code.
.myTextColor { color: #DB5C7A; }
<p style="color:#DB5C7A">This sample text font color is #DB5C7A.</p>
This text font color is #DB5C7A.
.myBgColor { background-color: #DB5C7A; }
<div style="background-color:#DB5C7A">Inner text</div>
This div background color is #DB5C7A.
.myBorderColor { border: 1px solid #DB5C7A; }
<div style="border:3px solid #DB5C7A">Div</div>
This div border color is #DB5C7A.
.myOpacity80 { color: #DB5C7A; opacity: 0.8; }
<p style="color:#DB5C7A;opacity:0.8;">80%</p>
Text with #DB5C7A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DB5C7A;}
<p style="text-shadow: 3px 3px 1px #DB5C7A">Text here.</p>
This text has shadow with #DB5C7A color.
.textShadow {text-shadow: 3px 3px 1px #DB5C7A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DB5C7A, 5px 5px 20px red">Text here.</p>
This text has shadow with #DB5C7A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DB5C7A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DB5C7A, Direction=45, Strength=4)">Text</p>
This text has shadow with #DB5C7A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DB5C7A; -webkit-box-shadow: 1px 1px 3px 2px #DB5C7A; box-shadow: 1px 1px 3px 2px #DB5C7A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DB5C7A; -webkit-box-shadow: 1px 1px 3px 2px #DB5C7A; box-shadow:1px 1px 3px 2px #DB5C7A;">
Div content here</div>
This text has color #DB5C7A on black background.
This text has color #DB5C7A on white background.
This text has black color on #DB5C7A background.
This text has white color on #DB5C7A background.