HEX: #7D1F40
RGB: (125,31,64)
#7D1F40 contains mainly red color. Web safe color of #7D1F40 is #663333 (or #633).
#7D1F40 color RGB value is (125,31,64).
RGB: (125,31,64) (49%,12%,25%)
R 125 of 255 = 49%
G 31 of 255 = 12%
B 64 of 255 = 25%
R + G + B ~ 29%. #7D1F40 is quite dark color.
R + G + B =
125 + 31 + 64 = 220 (100%)
R 125 of 220 ~ 56.82%
G 31 of 220 ~ 14.09%
B 64 of 220 ~ 29.09%
#7D1F40 color CMYK value is (0,75,49,51).
CMYK: (0,75,49,51) C0M75Y49K51 (0%,75%,49%,51%) (0.00/0.75/0.49/0.51)
7D | 1F | 40 | |
---|---|---|---|
RGB | 125 | 31 | 64 |
HSL | 339° | 60.26% | 30.59% |
HSB/HSV | 339° | 75.20% | 49.02% |
CMYK | 0.00% | 75.20% | 48.80% |
50.98% |
HEX | 7D | 1F | 40 |
Decimal | 125 | 31 | 64 |
Binary | 1111101 | 11111 | 1000000 |
Octal | 175 | 37 | 100 |
Examples of css and html codes for elements with #7D1F40 color. Also use rgb(125,31,64) instead hex code.
.myTextColor { color: #7D1F40; }
<p style="color:#7D1F40">This sample text font color is #7D1F40.</p>
This text font color is #7D1F40.
.myBgColor { background-color: #7D1F40; }
<div style="background-color:#7D1F40">Inner text</div>
This div background color is #7D1F40.
.myBorderColor { border: 1px solid #7D1F40; }
<div style="border:3px solid #7D1F40">Div</div>
This div border color is #7D1F40.
.myOpacity80 { color: #7D1F40; opacity: 0.8; }
<p style="color:#7D1F40;opacity:0.8;">80%</p>
Text with #7D1F40 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D1F40;}
<p style="text-shadow: 3px 3px 1px #7D1F40">Text here.</p>
This text has shadow with #7D1F40 color.
.textShadow {text-shadow: 3px 3px 1px #7D1F40, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D1F40, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D1F40 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D1F40, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D1F40, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D1F40 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D1F40; -webkit-box-shadow: 1px 1px 3px 2px #7D1F40; box-shadow: 1px 1px 3px 2px #7D1F40; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D1F40; -webkit-box-shadow: 1px 1px 3px 2px #7D1F40; box-shadow:1px 1px 3px 2px #7D1F40;">
Div content here</div>
This text has color #7D1F40 on black background.
This text has color #7D1F40 on white background.
This text has black color on #7D1F40 background.
This text has white color on #7D1F40 background.