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