HEX: #7D1DAB
RGB: (125,29,171)
#7D1DAB contains mainly red and blue colors. Web safe color of #7D1DAB is #663399 (or #639).
#7D1DAB color RGB value is (125,29,171).
RGB: (125,29,171) (49%,11%,67%)
R 125 of 255 = 49%
G 29 of 255 = 11%
B 171 of 255 = 67%
R + G + B ~ 42%. #7D1DAB is middle color (not dark and not light).
R + G + B =
125 + 29 + 171 = 325 (100%)
R 125 of 325 ~ 38.46%
G 29 of 325 ~ 8.92%
B 171 of 325 ~ 52.62%
#7D1DAB color CMYK value is (27,83,0,33).
CMYK: (27,83,0,33) C27M83Y0K33 (27%,83%,0%,33%) (0.27/0.83/0.00/0.33)
7D | 1D | AB | |
---|---|---|---|
RGB | 125 | 29 | 171 |
HSL | 281° | 71.00% | 39.22% |
HSB/HSV | 281° | 83.04% | 67.06% |
CMYK | 26.90% | 83.04% | 0.00% |
32.94% |
HEX | 7D | 1D | AB |
Decimal | 125 | 29 | 171 |
Binary | 1111101 | 11101 | 10101011 |
Octal | 175 | 35 | 253 |
Examples of css and html codes for elements with #7D1DAB color. Also use rgb(125,29,171) instead hex code.
.myTextColor { color: #7D1DAB; }
<p style="color:#7D1DAB">This sample text font color is #7D1DAB.</p>
This text font color is #7D1DAB.
.myBgColor { background-color: #7D1DAB; }
<div style="background-color:#7D1DAB">Inner text</div>
This div background color is #7D1DAB.
.myBorderColor { border: 1px solid #7D1DAB; }
<div style="border:3px solid #7D1DAB">Div</div>
This div border color is #7D1DAB.
.myOpacity80 { color: #7D1DAB; opacity: 0.8; }
<p style="color:#7D1DAB;opacity:0.8;">80%</p>
Text with #7D1DAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D1DAB;}
<p style="text-shadow: 3px 3px 1px #7D1DAB">Text here.</p>
This text has shadow with #7D1DAB color.
.textShadow {text-shadow: 3px 3px 1px #7D1DAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D1DAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D1DAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D1DAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D1DAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D1DAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D1DAB; -webkit-box-shadow: 1px 1px 3px 2px #7D1DAB; box-shadow: 1px 1px 3px 2px #7D1DAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D1DAB; -webkit-box-shadow: 1px 1px 3px 2px #7D1DAB; box-shadow:1px 1px 3px 2px #7D1DAB;">
Div content here</div>
This text has color #7D1DAB on black background.
This text has color #7D1DAB on white background.
This text has black color on #7D1DAB background.
This text has white color on #7D1DAB background.