HEX: #D5721C
RGB: (213,114,28)
#D5721C contains mainly red color. Web safe color of #D5721C is #CC6633 (or #C63).
#D5721C color RGB value is (213,114,28).
RGB: (213,114,28) (84%,45%,11%)
R 213 of 255 = 84%
G 114 of 255 = 45%
B 28 of 255 = 11%
R + G + B ~ 47%. #D5721C is middle color (not dark and not light).
R + G + B =
213 + 114 + 28 = 355 (100%)
R 213 of 355 ~ 60%
G 114 of 355 ~ 32.11%
B 28 of 355 ~ 7.89%
#D5721C color CMYK value is (0,46,87,16).
CMYK: (0,46,87,16) C0M46Y87K16 (0%,46%,87%,16%) (0.00/0.46/0.87/0.16)
D5 | 72 | 1C | |
---|---|---|---|
RGB | 213 | 114 | 28 |
HSL | 28° | 76.76% | 47.25% |
HSB/HSV | 28° | 86.85% | 83.53% |
CMYK | 0.00% | 46.48% | 86.85% |
16.47% |
HEX | D5 | 72 | 1C |
Decimal | 213 | 114 | 28 |
Binary | 11010101 | 1110010 | 11100 |
Octal | 325 | 162 | 34 |
Examples of css and html codes for elements with #D5721C color. Also use rgb(213,114,28) instead hex code.
.myTextColor { color: #D5721C; }
<p style="color:#D5721C">This sample text font color is #D5721C.</p>
This text font color is #D5721C.
.myBgColor { background-color: #D5721C; }
<div style="background-color:#D5721C">Inner text</div>
This div background color is #D5721C.
.myBorderColor { border: 1px solid #D5721C; }
<div style="border:3px solid #D5721C">Div</div>
This div border color is #D5721C.
.myOpacity80 { color: #D5721C; opacity: 0.8; }
<p style="color:#D5721C;opacity:0.8;">80%</p>
Text with #D5721C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5721C;}
<p style="text-shadow: 3px 3px 1px #D5721C">Text here.</p>
This text has shadow with #D5721C color.
.textShadow {text-shadow: 3px 3px 1px #D5721C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5721C, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5721C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5721C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5721C, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5721C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5721C; -webkit-box-shadow: 1px 1px 3px 2px #D5721C; box-shadow: 1px 1px 3px 2px #D5721C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5721C; -webkit-box-shadow: 1px 1px 3px 2px #D5721C; box-shadow:1px 1px 3px 2px #D5721C;">
Div content here</div>
This text has color #D5721C on black background.
This text has color #D5721C on white background.
This text has black color on #D5721C background.
This text has white color on #D5721C background.