HEX: #D95A04
RGB: (217,90,4)
#D95A04 contains mainly red color. Web safe color of #D95A04 is #CC6600 (or #C60).
#D95A04 color RGB value is (217,90,4).
RGB: (217,90,4) (85%,35%,2%)
R 217 of 255 = 85%
G 90 of 255 = 35%
B 4 of 255 = 2%
R + G + B ~ 41%. #D95A04 is middle color (not dark and not light).
R + G + B =
217 + 90 + 4 = 311 (100%)
R 217 of 311 ~ 69.77%
G 90 of 311 ~ 28.94%
B 4 of 311 ~ 1.29%
#D95A04 color CMYK value is (0,59,98,15).
CMYK: (0,59,98,15) C0M59Y98K15 (0%,59%,98%,15%) (0.00/0.59/0.98/0.15)
D9 | 5A | 04 | |
---|---|---|---|
RGB | 217 | 90 | 4 |
HSL | 24° | 96.38% | 43.33% |
HSB/HSV | 24° | 98.16% | 85.10% |
CMYK | 0.00% | 58.53% | 98.16% |
14.90% |
HEX | D9 | 5A | 04 |
Decimal | 217 | 90 | 4 |
Binary | 11011001 | 1011010 | 100 |
Octal | 331 | 132 | 4 |
Examples of css and html codes for elements with #D95A04 color. Also use rgb(217,90,4) instead hex code.
.myTextColor { color: #D95A04; }
<p style="color:#D95A04">This sample text font color is #D95A04.</p>
This text font color is #D95A04.
.myBgColor { background-color: #D95A04; }
<div style="background-color:#D95A04">Inner text</div>
This div background color is #D95A04.
.myBorderColor { border: 1px solid #D95A04; }
<div style="border:3px solid #D95A04">Div</div>
This div border color is #D95A04.
.myOpacity80 { color: #D95A04; opacity: 0.8; }
<p style="color:#D95A04;opacity:0.8;">80%</p>
Text with #D95A04 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D95A04;}
<p style="text-shadow: 3px 3px 1px #D95A04">Text here.</p>
This text has shadow with #D95A04 color.
.textShadow {text-shadow: 3px 3px 1px #D95A04, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D95A04, 5px 5px 20px red">Text here.</p>
This text has shadow with #D95A04 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D95A04, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D95A04, Direction=45, Strength=4)">Text</p>
This text has shadow with #D95A04 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D95A04; -webkit-box-shadow: 1px 1px 3px 2px #D95A04; box-shadow: 1px 1px 3px 2px #D95A04; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D95A04; -webkit-box-shadow: 1px 1px 3px 2px #D95A04; box-shadow:1px 1px 3px 2px #D95A04;">
Div content here</div>
This text has color #D95A04 on black background.
This text has color #D95A04 on white background.
This text has black color on #D95A04 background.
This text has white color on #D95A04 background.