HEX: #D38C03
RGB: (211,140,3)
#D38C03 contains mainly red color. Web safe color of #D38C03 is #CC9900 (or #C90).
#D38C03 color RGB value is (211,140,3).
RGB: (211,140,3) (83%,55%,1%)
R 211 of 255 = 83%
G 140 of 255 = 55%
B 3 of 255 = 1%
R + G + B ~ 46%. #D38C03 is middle color (not dark and not light).
R + G + B =
211 + 140 + 3 = 354 (100%)
R 211 of 354 ~ 59.6%
G 140 of 354 ~ 39.55%
B 3 of 354 ~ 0.85%
#D38C03 color CMYK value is (0,34,99,17).
CMYK: (0,34,99,17) C0M34Y99K17 (0%,34%,99%,17%) (0.00/0.34/0.99/0.17)
D3 | 8C | 03 | |
---|---|---|---|
RGB | 211 | 140 | 3 |
HSL | 40° | 97.20% | 41.96% |
HSB/HSV | 40° | 98.58% | 82.75% |
CMYK | 0.00% | 33.65% | 98.58% |
17.25% |
HEX | D3 | 8C | 03 |
Decimal | 211 | 140 | 3 |
Binary | 11010011 | 10001100 | 11 |
Octal | 323 | 214 | 3 |
Examples of css and html codes for elements with #D38C03 color. Also use rgb(211,140,3) instead hex code.
.myTextColor { color: #D38C03; }
<p style="color:#D38C03">This sample text font color is #D38C03.</p>
This text font color is #D38C03.
.myBgColor { background-color: #D38C03; }
<div style="background-color:#D38C03">Inner text</div>
This div background color is #D38C03.
.myBorderColor { border: 1px solid #D38C03; }
<div style="border:3px solid #D38C03">Div</div>
This div border color is #D38C03.
.myOpacity80 { color: #D38C03; opacity: 0.8; }
<p style="color:#D38C03;opacity:0.8;">80%</p>
Text with #D38C03 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D38C03;}
<p style="text-shadow: 3px 3px 1px #D38C03">Text here.</p>
This text has shadow with #D38C03 color.
.textShadow {text-shadow: 3px 3px 1px #D38C03, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D38C03, 5px 5px 20px red">Text here.</p>
This text has shadow with #D38C03 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D38C03, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D38C03, Direction=45, Strength=4)">Text</p>
This text has shadow with #D38C03 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D38C03; -webkit-box-shadow: 1px 1px 3px 2px #D38C03; box-shadow: 1px 1px 3px 2px #D38C03; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D38C03; -webkit-box-shadow: 1px 1px 3px 2px #D38C03; box-shadow:1px 1px 3px 2px #D38C03;">
Div content here</div>
This text has color #D38C03 on black background.
This text has color #D38C03 on white background.
This text has black color on #D38C03 background.
This text has white color on #D38C03 background.