HEX: #DB1504
RGB: (219,21,4)
#DB1504 contains mainly red color. Web safe color of #DB1504 is #CC0000 (or #C00).
#DB1504 color RGB value is (219,21,4).
RGB: (219,21,4) (86%,8%,2%)
R 219 of 255 = 86%
G 21 of 255 = 8%
B 4 of 255 = 2%
R + G + B ~ 32%. #DB1504 is quite dark color.
R + G + B =
219 + 21 + 4 = 244 (100%)
R 219 of 244 ~ 89.75%
G 21 of 244 ~ 8.61%
B 4 of 244 ~ 1.64%
#DB1504 color CMYK value is (0,90,98,14).
CMYK: (0,90,98,14) C0M90Y98K14 (0%,90%,98%,14%) (0.00/0.90/0.98/0.14)
DB | 15 | 04 | |
---|---|---|---|
RGB | 219 | 21 | 4 |
HSL | 5° | 96.41% | 43.73% |
HSB/HSV | 5° | 98.17% | 85.88% |
CMYK | 0.00% | 90.41% | 98.17% |
14.12% |
HEX | DB | 15 | 04 |
Decimal | 219 | 21 | 4 |
Binary | 11011011 | 10101 | 100 |
Octal | 333 | 25 | 4 |
Examples of css and html codes for elements with #DB1504 color. Also use rgb(219,21,4) instead hex code.
.myTextColor { color: #DB1504; }
<p style="color:#DB1504">This sample text font color is #DB1504.</p>
This text font color is #DB1504.
.myBgColor { background-color: #DB1504; }
<div style="background-color:#DB1504">Inner text</div>
This div background color is #DB1504.
.myBorderColor { border: 1px solid #DB1504; }
<div style="border:3px solid #DB1504">Div</div>
This div border color is #DB1504.
.myOpacity80 { color: #DB1504; opacity: 0.8; }
<p style="color:#DB1504;opacity:0.8;">80%</p>
Text with #DB1504 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DB1504;}
<p style="text-shadow: 3px 3px 1px #DB1504">Text here.</p>
This text has shadow with #DB1504 color.
.textShadow {text-shadow: 3px 3px 1px #DB1504, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DB1504, 5px 5px 20px red">Text here.</p>
This text has shadow with #DB1504 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DB1504, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DB1504, Direction=45, Strength=4)">Text</p>
This text has shadow with #DB1504 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DB1504; -webkit-box-shadow: 1px 1px 3px 2px #DB1504; box-shadow: 1px 1px 3px 2px #DB1504; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DB1504; -webkit-box-shadow: 1px 1px 3px 2px #DB1504; box-shadow:1px 1px 3px 2px #DB1504;">
Div content here</div>
This text has color #DB1504 on black background.
This text has color #DB1504 on white background.
This text has black color on #DB1504 background.
This text has white color on #DB1504 background.