HEX: #D48C0E
RGB: (212,140,14)
#D48C0E contains mainly red color. Web safe color of #D48C0E is #CC9900 (or #C90).
#D48C0E color RGB value is (212,140,14).
RGB: (212,140,14) (83%,55%,5%)
R 212 of 255 = 83%
G 140 of 255 = 55%
B 14 of 255 = 5%
R + G + B ~ 48%. #D48C0E is middle color (not dark and not light).
R + G + B =
212 + 140 + 14 = 366 (100%)
R 212 of 366 ~ 57.92%
G 140 of 366 ~ 38.25%
B 14 of 366 ~ 3.83%
#D48C0E color CMYK value is (0,34,93,17).
CMYK: (0,34,93,17) C0M34Y93K17 (0%,34%,93%,17%) (0.00/0.34/0.93/0.17)
D4 | 8C | 0E | |
---|---|---|---|
RGB | 212 | 140 | 14 |
HSL | 38° | 87.61% | 44.31% |
HSB/HSV | 38° | 93.40% | 83.14% |
CMYK | 0.00% | 33.96% | 93.40% |
16.86% |
HEX | D4 | 8C | 0E |
Decimal | 212 | 140 | 14 |
Binary | 11010100 | 10001100 | 1110 |
Octal | 324 | 214 | 16 |
Examples of css and html codes for elements with #D48C0E color. Also use rgb(212,140,14) instead hex code.
.myTextColor { color: #D48C0E; }
<p style="color:#D48C0E">This sample text font color is #D48C0E.</p>
This text font color is #D48C0E.
.myBgColor { background-color: #D48C0E; }
<div style="background-color:#D48C0E">Inner text</div>
This div background color is #D48C0E.
.myBorderColor { border: 1px solid #D48C0E; }
<div style="border:3px solid #D48C0E">Div</div>
This div border color is #D48C0E.
.myOpacity80 { color: #D48C0E; opacity: 0.8; }
<p style="color:#D48C0E;opacity:0.8;">80%</p>
Text with #D48C0E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D48C0E;}
<p style="text-shadow: 3px 3px 1px #D48C0E">Text here.</p>
This text has shadow with #D48C0E color.
.textShadow {text-shadow: 3px 3px 1px #D48C0E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D48C0E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D48C0E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D48C0E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D48C0E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D48C0E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D48C0E; -webkit-box-shadow: 1px 1px 3px 2px #D48C0E; box-shadow: 1px 1px 3px 2px #D48C0E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D48C0E; -webkit-box-shadow: 1px 1px 3px 2px #D48C0E; box-shadow:1px 1px 3px 2px #D48C0E;">
Div content here</div>
This text has color #D48C0E on black background.
This text has color #D48C0E on white background.
This text has black color on #D48C0E background.
This text has white color on #D48C0E background.