HEX: #7D388E
RGB: (125,56,142)
#7D388E contains mainly red and blue colors. Web safe color of #7D388E is #663399 (or #639).
#7D388E color RGB value is (125,56,142).
RGB: (125,56,142) (49%,22%,56%)
R 125 of 255 = 49%
G 56 of 255 = 22%
B 142 of 255 = 56%
R + G + B ~ 42%. #7D388E is middle color (not dark and not light).
R + G + B =
125 + 56 + 142 = 323 (100%)
R 125 of 323 ~ 38.7%
G 56 of 323 ~ 17.34%
B 142 of 323 ~ 43.96%
#7D388E color CMYK value is (12,61,0,44).
CMYK: (12,61,0,44) C12M61Y0K44 (12%,61%,0%,44%) (0.12/0.61/0.00/0.44)
7D | 38 | 8E | |
---|---|---|---|
RGB | 125 | 56 | 142 |
HSL | 288° | 43.43% | 38.82% |
HSB/HSV | 288° | 60.56% | 55.69% |
CMYK | 11.97% | 60.56% | 0.00% |
44.31% |
HEX | 7D | 38 | 8E |
Decimal | 125 | 56 | 142 |
Binary | 1111101 | 111000 | 10001110 |
Octal | 175 | 70 | 216 |
Examples of css and html codes for elements with #7D388E color. Also use rgb(125,56,142) instead hex code.
.myTextColor { color: #7D388E; }
<p style="color:#7D388E">This sample text font color is #7D388E.</p>
This text font color is #7D388E.
.myBgColor { background-color: #7D388E; }
<div style="background-color:#7D388E">Inner text</div>
This div background color is #7D388E.
.myBorderColor { border: 1px solid #7D388E; }
<div style="border:3px solid #7D388E">Div</div>
This div border color is #7D388E.
.myOpacity80 { color: #7D388E; opacity: 0.8; }
<p style="color:#7D388E;opacity:0.8;">80%</p>
Text with #7D388E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D388E;}
<p style="text-shadow: 3px 3px 1px #7D388E">Text here.</p>
This text has shadow with #7D388E color.
.textShadow {text-shadow: 3px 3px 1px #7D388E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D388E, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D388E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D388E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D388E, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D388E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D388E; -webkit-box-shadow: 1px 1px 3px 2px #7D388E; box-shadow: 1px 1px 3px 2px #7D388E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D388E; -webkit-box-shadow: 1px 1px 3px 2px #7D388E; box-shadow:1px 1px 3px 2px #7D388E;">
Div content here</div>
This text has color #7D388E on black background.
This text has color #7D388E on white background.
This text has black color on #7D388E background.
This text has white color on #7D388E background.