HEX: #7D142A
RGB: (125,20,42)
#7D142A contains mainly red color. Web safe color of #7D142A is #660033 (or #603).
#7D142A color RGB value is (125,20,42).
RGB: (125,20,42) (49%,8%,16%)
R 125 of 255 = 49%
G 20 of 255 = 8%
B 42 of 255 = 16%
R + G + B ~ 24%. #7D142A is dark color.
R + G + B =
125 + 20 + 42 = 187 (100%)
R 125 of 187 ~ 66.84%
G 20 of 187 ~ 10.7%
B 42 of 187 ~ 22.46%
#7D142A color CMYK value is (0,84,66,51).
CMYK: (0,84,66,51) C0M84Y66K51 (0%,84%,66%,51%) (0.00/0.84/0.66/0.51)
7D | 14 | 2A | |
---|---|---|---|
RGB | 125 | 20 | 42 |
HSL | 347° | 72.41% | 28.43% |
HSB/HSV | 347° | 84.00% | 49.02% |
CMYK | 0.00% | 84.00% | 66.40% |
50.98% |
HEX | 7D | 14 | 2A |
Decimal | 125 | 20 | 42 |
Binary | 1111101 | 10100 | 101010 |
Octal | 175 | 24 | 52 |
Examples of css and html codes for elements with #7D142A color. Also use rgb(125,20,42) instead hex code.
.myTextColor { color: #7D142A; }
<p style="color:#7D142A">This sample text font color is #7D142A.</p>
This text font color is #7D142A.
.myBgColor { background-color: #7D142A; }
<div style="background-color:#7D142A">Inner text</div>
This div background color is #7D142A.
.myBorderColor { border: 1px solid #7D142A; }
<div style="border:3px solid #7D142A">Div</div>
This div border color is #7D142A.
.myOpacity80 { color: #7D142A; opacity: 0.8; }
<p style="color:#7D142A;opacity:0.8;">80%</p>
Text with #7D142A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D142A;}
<p style="text-shadow: 3px 3px 1px #7D142A">Text here.</p>
This text has shadow with #7D142A color.
.textShadow {text-shadow: 3px 3px 1px #7D142A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D142A, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D142A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D142A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D142A, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D142A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D142A; -webkit-box-shadow: 1px 1px 3px 2px #7D142A; box-shadow: 1px 1px 3px 2px #7D142A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D142A; -webkit-box-shadow: 1px 1px 3px 2px #7D142A; box-shadow:1px 1px 3px 2px #7D142A;">
Div content here</div>
This text has color #7D142A on black background.
This text has color #7D142A on white background.
This text has black color on #7D142A background.
This text has white color on #7D142A background.