HEX: #D5252F
RGB: (213,37,47)
#D5252F contains mainly red color. Web safe color of #D5252F is #CC3333 (or #C33).
#D5252F color RGB value is (213,37,47).
RGB: (213,37,47) (84%,15%,18%)
R 213 of 255 = 84%
G 37 of 255 = 15%
B 47 of 255 = 18%
R + G + B ~ 39%. #D5252F is quite dark color.
R + G + B =
213 + 37 + 47 = 297 (100%)
R 213 of 297 ~ 71.72%
G 37 of 297 ~ 12.46%
B 47 of 297 ~ 15.82%
#D5252F color CMYK value is (0,83,78,16).
CMYK: (0,83,78,16) C0M83Y78K16 (0%,83%,78%,16%) (0.00/0.83/0.78/0.16)
D5 | 25 | 2F | |
---|---|---|---|
RGB | 213 | 37 | 47 |
HSL | 357° | 70.40% | 49.02% |
HSB/HSV | 357° | 82.63% | 83.53% |
CMYK | 0.00% | 82.63% | 77.93% |
16.47% |
HEX | D5 | 25 | 2F |
Decimal | 213 | 37 | 47 |
Binary | 11010101 | 100101 | 101111 |
Octal | 325 | 45 | 57 |
Examples of css and html codes for elements with #D5252F color. Also use rgb(213,37,47) instead hex code.
.myTextColor { color: #D5252F; }
<p style="color:#D5252F">This sample text font color is #D5252F.</p>
This text font color is #D5252F.
.myBgColor { background-color: #D5252F; }
<div style="background-color:#D5252F">Inner text</div>
This div background color is #D5252F.
.myBorderColor { border: 1px solid #D5252F; }
<div style="border:3px solid #D5252F">Div</div>
This div border color is #D5252F.
.myOpacity80 { color: #D5252F; opacity: 0.8; }
<p style="color:#D5252F;opacity:0.8;">80%</p>
Text with #D5252F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5252F;}
<p style="text-shadow: 3px 3px 1px #D5252F">Text here.</p>
This text has shadow with #D5252F color.
.textShadow {text-shadow: 3px 3px 1px #D5252F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5252F, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5252F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5252F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5252F, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5252F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5252F; -webkit-box-shadow: 1px 1px 3px 2px #D5252F; box-shadow: 1px 1px 3px 2px #D5252F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5252F; -webkit-box-shadow: 1px 1px 3px 2px #D5252F; box-shadow:1px 1px 3px 2px #D5252F;">
Div content here</div>
This text has color #D5252F on black background.
This text has color #D5252F on white background.
This text has black color on #D5252F background.
This text has white color on #D5252F background.