HEX: #D1513B
RGB: (209,81,59)
#D1513B contains mainly red color. Web safe color of #D1513B is #CC6633 (or #C63).
#D1513B color RGB value is (209,81,59).
RGB: (209,81,59) (82%,32%,23%)
R 209 of 255 = 82%
G 81 of 255 = 32%
B 59 of 255 = 23%
R + G + B ~ 46%. #D1513B is middle color (not dark and not light).
R + G + B =
209 + 81 + 59 = 349 (100%)
R 209 of 349 ~ 59.89%
G 81 of 349 ~ 23.21%
B 59 of 349 ~ 16.91%
#D1513B color CMYK value is (0,61,72,18).
CMYK: (0,61,72,18) C0M61Y72K18 (0%,61%,72%,18%) (0.00/0.61/0.72/0.18)
D1 | 51 | 3B | |
---|---|---|---|
RGB | 209 | 81 | 59 |
HSL | 9° | 61.98% | 52.55% |
HSB/HSV | 9° | 71.77% | 81.96% |
CMYK | 0.00% | 61.24% | 71.77% |
18.04% |
HEX | D1 | 51 | 3B |
Decimal | 209 | 81 | 59 |
Binary | 11010001 | 1010001 | 111011 |
Octal | 321 | 121 | 73 |
Examples of css and html codes for elements with #D1513B color. Also use rgb(209,81,59) instead hex code.
.myTextColor { color: #D1513B; }
<p style="color:#D1513B">This sample text font color is #D1513B.</p>
This text font color is #D1513B.
.myBgColor { background-color: #D1513B; }
<div style="background-color:#D1513B">Inner text</div>
This div background color is #D1513B.
.myBorderColor { border: 1px solid #D1513B; }
<div style="border:3px solid #D1513B">Div</div>
This div border color is #D1513B.
.myOpacity80 { color: #D1513B; opacity: 0.8; }
<p style="color:#D1513B;opacity:0.8;">80%</p>
Text with #D1513B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D1513B;}
<p style="text-shadow: 3px 3px 1px #D1513B">Text here.</p>
This text has shadow with #D1513B color.
.textShadow {text-shadow: 3px 3px 1px #D1513B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D1513B, 5px 5px 20px red">Text here.</p>
This text has shadow with #D1513B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D1513B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D1513B, Direction=45, Strength=4)">Text</p>
This text has shadow with #D1513B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D1513B; -webkit-box-shadow: 1px 1px 3px 2px #D1513B; box-shadow: 1px 1px 3px 2px #D1513B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D1513B; -webkit-box-shadow: 1px 1px 3px 2px #D1513B; box-shadow:1px 1px 3px 2px #D1513B;">
Div content here</div>
This text has color #D1513B on black background.
This text has color #D1513B on white background.
This text has black color on #D1513B background.
This text has white color on #D1513B background.