HEX: #D2711B
RGB: (210,113,27)
#D2711B contains mainly red color. Web safe color of #D2711B is #CC6633 (or #C63).
#D2711B color RGB value is (210,113,27).
RGB: (210,113,27) (82%,44%,11%)
R 210 of 255 = 82%
G 113 of 255 = 44%
B 27 of 255 = 11%
R + G + B ~ 46%. #D2711B is middle color (not dark and not light).
R + G + B =
210 + 113 + 27 = 350 (100%)
R 210 of 350 ~ 60%
G 113 of 350 ~ 32.29%
B 27 of 350 ~ 7.71%
#D2711B color CMYK value is (0,46,87,18).
CMYK: (0,46,87,18) C0M46Y87K18 (0%,46%,87%,18%) (0.00/0.46/0.87/0.18)
D2 | 71 | 1B | |
---|---|---|---|
RGB | 210 | 113 | 27 |
HSL | 28° | 77.22% | 46.47% |
HSB/HSV | 28° | 87.14% | 82.35% |
CMYK | 0.00% | 46.19% | 87.14% |
17.65% |
HEX | D2 | 71 | 1B |
Decimal | 210 | 113 | 27 |
Binary | 11010010 | 1110001 | 11011 |
Octal | 322 | 161 | 33 |
Examples of css and html codes for elements with #D2711B color. Also use rgb(210,113,27) instead hex code.
.myTextColor { color: #D2711B; }
<p style="color:#D2711B">This sample text font color is #D2711B.</p>
This text font color is #D2711B.
.myBgColor { background-color: #D2711B; }
<div style="background-color:#D2711B">Inner text</div>
This div background color is #D2711B.
.myBorderColor { border: 1px solid #D2711B; }
<div style="border:3px solid #D2711B">Div</div>
This div border color is #D2711B.
.myOpacity80 { color: #D2711B; opacity: 0.8; }
<p style="color:#D2711B;opacity:0.8;">80%</p>
Text with #D2711B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D2711B;}
<p style="text-shadow: 3px 3px 1px #D2711B">Text here.</p>
This text has shadow with #D2711B color.
.textShadow {text-shadow: 3px 3px 1px #D2711B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D2711B, 5px 5px 20px red">Text here.</p>
This text has shadow with #D2711B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D2711B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D2711B, Direction=45, Strength=4)">Text</p>
This text has shadow with #D2711B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D2711B; -webkit-box-shadow: 1px 1px 3px 2px #D2711B; box-shadow: 1px 1px 3px 2px #D2711B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D2711B; -webkit-box-shadow: 1px 1px 3px 2px #D2711B; box-shadow:1px 1px 3px 2px #D2711B;">
Div content here</div>
This text has color #D2711B on black background.
This text has color #D2711B on white background.
This text has black color on #D2711B background.
This text has white color on #D2711B background.