HEX: #7D1B20
RGB: (125,27,32)
#7D1B20 contains mainly red color. Web safe color of #7D1B20 is #663333 (or #633).
#7D1B20 color RGB value is (125,27,32).
RGB: (125,27,32) (49%,11%,13%)
R 125 of 255 = 49%
G 27 of 255 = 11%
B 32 of 255 = 13%
R + G + B ~ 24%. #7D1B20 is dark color.
R + G + B =
125 + 27 + 32 = 184 (100%)
R 125 of 184 ~ 67.93%
G 27 of 184 ~ 14.67%
B 32 of 184 ~ 17.39%
#7D1B20 color CMYK value is (0,78,74,51).
CMYK: (0,78,74,51) C0M78Y74K51 (0%,78%,74%,51%) (0.00/0.78/0.74/0.51)
7D | 1B | 20 | |
---|---|---|---|
RGB | 125 | 27 | 32 |
HSL | 357° | 64.47% | 29.80% |
HSB/HSV | 357° | 78.40% | 49.02% |
CMYK | 0.00% | 78.40% | 74.40% |
50.98% |
HEX | 7D | 1B | 20 |
Decimal | 125 | 27 | 32 |
Binary | 1111101 | 11011 | 100000 |
Octal | 175 | 33 | 40 |
Examples of css and html codes for elements with #7D1B20 color. Also use rgb(125,27,32) instead hex code.
.myTextColor { color: #7D1B20; }
<p style="color:#7D1B20">This sample text font color is #7D1B20.</p>
This text font color is #7D1B20.
.myBgColor { background-color: #7D1B20; }
<div style="background-color:#7D1B20">Inner text</div>
This div background color is #7D1B20.
.myBorderColor { border: 1px solid #7D1B20; }
<div style="border:3px solid #7D1B20">Div</div>
This div border color is #7D1B20.
.myOpacity80 { color: #7D1B20; opacity: 0.8; }
<p style="color:#7D1B20;opacity:0.8;">80%</p>
Text with #7D1B20 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D1B20;}
<p style="text-shadow: 3px 3px 1px #7D1B20">Text here.</p>
This text has shadow with #7D1B20 color.
.textShadow {text-shadow: 3px 3px 1px #7D1B20, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D1B20, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D1B20 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D1B20, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D1B20, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D1B20 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D1B20; -webkit-box-shadow: 1px 1px 3px 2px #7D1B20; box-shadow: 1px 1px 3px 2px #7D1B20; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D1B20; -webkit-box-shadow: 1px 1px 3px 2px #7D1B20; box-shadow:1px 1px 3px 2px #7D1B20;">
Div content here</div>
This text has color #7D1B20 on black background.
This text has color #7D1B20 on white background.
This text has black color on #7D1B20 background.
This text has white color on #7D1B20 background.