HEX: #D31D46
RGB: (211,29,70)
#D31D46 contains mainly red color. Web safe color of #D31D46 is #CC3333 (or #C33).
#D31D46 color RGB value is (211,29,70).
RGB: (211,29,70) (83%,11%,27%)
R 211 of 255 = 83%
G 29 of 255 = 11%
B 70 of 255 = 27%
R + G + B ~ 40%. #D31D46 is middle color (not dark and not light).
R + G + B =
211 + 29 + 70 = 310 (100%)
R 211 of 310 ~ 68.06%
G 29 of 310 ~ 9.35%
B 70 of 310 ~ 22.58%
#D31D46 color CMYK value is (0,86,67,17).
CMYK: (0,86,67,17) C0M86Y67K17 (0%,86%,67%,17%) (0.00/0.86/0.67/0.17)
D3 | 1D | 46 | |
---|---|---|---|
RGB | 211 | 29 | 70 |
HSL | 346° | 75.83% | 47.06% |
HSB/HSV | 346° | 86.26% | 82.75% |
CMYK | 0.00% | 86.26% | 66.82% |
17.25% |
HEX | D3 | 1D | 46 |
Decimal | 211 | 29 | 70 |
Binary | 11010011 | 11101 | 1000110 |
Octal | 323 | 35 | 106 |
Examples of css and html codes for elements with #D31D46 color. Also use rgb(211,29,70) instead hex code.
.myTextColor { color: #D31D46; }
<p style="color:#D31D46">This sample text font color is #D31D46.</p>
This text font color is #D31D46.
.myBgColor { background-color: #D31D46; }
<div style="background-color:#D31D46">Inner text</div>
This div background color is #D31D46.
.myBorderColor { border: 1px solid #D31D46; }
<div style="border:3px solid #D31D46">Div</div>
This div border color is #D31D46.
.myOpacity80 { color: #D31D46; opacity: 0.8; }
<p style="color:#D31D46;opacity:0.8;">80%</p>
Text with #D31D46 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D31D46;}
<p style="text-shadow: 3px 3px 1px #D31D46">Text here.</p>
This text has shadow with #D31D46 color.
.textShadow {text-shadow: 3px 3px 1px #D31D46, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D31D46, 5px 5px 20px red">Text here.</p>
This text has shadow with #D31D46 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D31D46, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D31D46, Direction=45, Strength=4)">Text</p>
This text has shadow with #D31D46 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D31D46; -webkit-box-shadow: 1px 1px 3px 2px #D31D46; box-shadow: 1px 1px 3px 2px #D31D46; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D31D46; -webkit-box-shadow: 1px 1px 3px 2px #D31D46; box-shadow:1px 1px 3px 2px #D31D46;">
Div content here</div>
This text has color #D31D46 on black background.
This text has color #D31D46 on white background.
This text has black color on #D31D46 background.
This text has white color on #D31D46 background.