HEX: #DB3328
RGB: (219,51,40)
#DB3328 contains mainly red color. Web safe color of #DB3328 is #CC3333 (or #C33).
#DB3328 color RGB value is (219,51,40).
RGB: (219,51,40) (86%,20%,16%)
R 219 of 255 = 86%
G 51 of 255 = 20%
B 40 of 255 = 16%
R + G + B ~ 41%. #DB3328 is middle color (not dark and not light).
R + G + B =
219 + 51 + 40 = 310 (100%)
R 219 of 310 ~ 70.65%
G 51 of 310 ~ 16.45%
B 40 of 310 ~ 12.9%
#DB3328 color CMYK value is (0,77,82,14).
CMYK: (0,77,82,14) C0M77Y82K14 (0%,77%,82%,14%) (0.00/0.77/0.82/0.14)
DB | 33 | 28 | |
---|---|---|---|
RGB | 219 | 51 | 40 |
HSL | 4° | 71.31% | 50.78% |
HSB/HSV | 4° | 81.74% | 85.88% |
CMYK | 0.00% | 76.71% | 81.74% |
14.12% |
HEX | DB | 33 | 28 |
Decimal | 219 | 51 | 40 |
Binary | 11011011 | 110011 | 101000 |
Octal | 333 | 63 | 50 |
Examples of css and html codes for elements with #DB3328 color. Also use rgb(219,51,40) instead hex code.
.myTextColor { color: #DB3328; }
<p style="color:#DB3328">This sample text font color is #DB3328.</p>
This text font color is #DB3328.
.myBgColor { background-color: #DB3328; }
<div style="background-color:#DB3328">Inner text</div>
This div background color is #DB3328.
.myBorderColor { border: 1px solid #DB3328; }
<div style="border:3px solid #DB3328">Div</div>
This div border color is #DB3328.
.myOpacity80 { color: #DB3328; opacity: 0.8; }
<p style="color:#DB3328;opacity:0.8;">80%</p>
Text with #DB3328 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DB3328;}
<p style="text-shadow: 3px 3px 1px #DB3328">Text here.</p>
This text has shadow with #DB3328 color.
.textShadow {text-shadow: 3px 3px 1px #DB3328, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DB3328, 5px 5px 20px red">Text here.</p>
This text has shadow with #DB3328 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DB3328, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DB3328, Direction=45, Strength=4)">Text</p>
This text has shadow with #DB3328 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DB3328; -webkit-box-shadow: 1px 1px 3px 2px #DB3328; box-shadow: 1px 1px 3px 2px #DB3328; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DB3328; -webkit-box-shadow: 1px 1px 3px 2px #DB3328; box-shadow:1px 1px 3px 2px #DB3328;">
Div content here</div>
This text has color #DB3328 on black background.
This text has color #DB3328 on white background.
This text has black color on #DB3328 background.
This text has white color on #DB3328 background.