HEX: #D8501E
RGB: (216,80,30)
#D8501E contains mainly red color. Web safe color of #D8501E is #CC6633 (or #C63).
#D8501E color RGB value is (216,80,30).
RGB: (216,80,30) (85%,31%,12%)
R 216 of 255 = 85%
G 80 of 255 = 31%
B 30 of 255 = 12%
R + G + B ~ 43%. #D8501E is middle color (not dark and not light).
R + G + B =
216 + 80 + 30 = 326 (100%)
R 216 of 326 ~ 66.26%
G 80 of 326 ~ 24.54%
B 30 of 326 ~ 9.2%
#D8501E color CMYK value is (0,63,86,15).
CMYK: (0,63,86,15) C0M63Y86K15 (0%,63%,86%,15%) (0.00/0.63/0.86/0.15)
D8 | 50 | 1E | |
---|---|---|---|
RGB | 216 | 80 | 30 |
HSL | 16° | 75.61% | 48.24% |
HSB/HSV | 16° | 86.11% | 84.71% |
CMYK | 0.00% | 62.96% | 86.11% |
15.29% |
HEX | D8 | 50 | 1E |
Decimal | 216 | 80 | 30 |
Binary | 11011000 | 1010000 | 11110 |
Octal | 330 | 120 | 36 |
Examples of css and html codes for elements with #D8501E color. Also use rgb(216,80,30) instead hex code.
.myTextColor { color: #D8501E; }
<p style="color:#D8501E">This sample text font color is #D8501E.</p>
This text font color is #D8501E.
.myBgColor { background-color: #D8501E; }
<div style="background-color:#D8501E">Inner text</div>
This div background color is #D8501E.
.myBorderColor { border: 1px solid #D8501E; }
<div style="border:3px solid #D8501E">Div</div>
This div border color is #D8501E.
.myOpacity80 { color: #D8501E; opacity: 0.8; }
<p style="color:#D8501E;opacity:0.8;">80%</p>
Text with #D8501E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8501E;}
<p style="text-shadow: 3px 3px 1px #D8501E">Text here.</p>
This text has shadow with #D8501E color.
.textShadow {text-shadow: 3px 3px 1px #D8501E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8501E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8501E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8501E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8501E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8501E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8501E; -webkit-box-shadow: 1px 1px 3px 2px #D8501E; box-shadow: 1px 1px 3px 2px #D8501E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8501E; -webkit-box-shadow: 1px 1px 3px 2px #D8501E; box-shadow:1px 1px 3px 2px #D8501E;">
Div content here</div>
This text has color #D8501E on black background.
This text has color #D8501E on white background.
This text has black color on #D8501E background.
This text has white color on #D8501E background.