HEX: #D74E1A
RGB: (215,78,26)
#D74E1A contains mainly red color. Web safe color of #D74E1A is #CC6600 (or #C60).
#D74E1A color RGB value is (215,78,26).
RGB: (215,78,26) (84%,31%,10%)
R 215 of 255 = 84%
G 78 of 255 = 31%
B 26 of 255 = 10%
R + G + B ~ 42%. #D74E1A is middle color (not dark and not light).
R + G + B =
215 + 78 + 26 = 319 (100%)
R 215 of 319 ~ 67.4%
G 78 of 319 ~ 24.45%
B 26 of 319 ~ 8.15%
#D74E1A color CMYK value is (0,64,88,16).
CMYK: (0,64,88,16) C0M64Y88K16 (0%,64%,88%,16%) (0.00/0.64/0.88/0.16)
D7 | 4E | 1A | |
---|---|---|---|
RGB | 215 | 78 | 26 |
HSL | 17° | 78.42% | 47.25% |
HSB/HSV | 17° | 87.91% | 84.31% |
CMYK | 0.00% | 63.72% | 87.91% |
15.69% |
HEX | D7 | 4E | 1A |
Decimal | 215 | 78 | 26 |
Binary | 11010111 | 1001110 | 11010 |
Octal | 327 | 116 | 32 |
Examples of css and html codes for elements with #D74E1A color. Also use rgb(215,78,26) instead hex code.
.myTextColor { color: #D74E1A; }
<p style="color:#D74E1A">This sample text font color is #D74E1A.</p>
This text font color is #D74E1A.
.myBgColor { background-color: #D74E1A; }
<div style="background-color:#D74E1A">Inner text</div>
This div background color is #D74E1A.
.myBorderColor { border: 1px solid #D74E1A; }
<div style="border:3px solid #D74E1A">Div</div>
This div border color is #D74E1A.
.myOpacity80 { color: #D74E1A; opacity: 0.8; }
<p style="color:#D74E1A;opacity:0.8;">80%</p>
Text with #D74E1A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D74E1A;}
<p style="text-shadow: 3px 3px 1px #D74E1A">Text here.</p>
This text has shadow with #D74E1A color.
.textShadow {text-shadow: 3px 3px 1px #D74E1A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D74E1A, 5px 5px 20px red">Text here.</p>
This text has shadow with #D74E1A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D74E1A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D74E1A, Direction=45, Strength=4)">Text</p>
This text has shadow with #D74E1A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D74E1A; -webkit-box-shadow: 1px 1px 3px 2px #D74E1A; box-shadow: 1px 1px 3px 2px #D74E1A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D74E1A; -webkit-box-shadow: 1px 1px 3px 2px #D74E1A; box-shadow:1px 1px 3px 2px #D74E1A;">
Div content here</div>
This text has color #D74E1A on black background.
This text has color #D74E1A on white background.
This text has black color on #D74E1A background.
This text has white color on #D74E1A background.