HEX: #7D78AC
RGB: (125,120,172)
#7D78AC contains red, green and blue colors in about the same proportion. Web safe color of #7D78AC is #666699 (or #669).
#7D78AC color RGB value is (125,120,172).
RGB: (125,120,172) (49%,47%,67%)
R 125 of 255 = 49%
G 120 of 255 = 47%
B 172 of 255 = 67%
R + G + B ~ 54%. #7D78AC is middle color (not dark and not light).
R + G + B =
125 + 120 + 172 = 417 (100%)
R 125 of 417 ~ 29.98%
G 120 of 417 ~ 28.78%
B 172 of 417 ~ 41.25%
#7D78AC color CMYK value is (27,30,0,33).
CMYK: (27,30,0,33) C27M30Y0K33 (27%,30%,0%,33%) (0.27/0.30/0.00/0.33)
7D | 78 | AC | |
---|---|---|---|
RGB | 125 | 120 | 172 |
HSL | 246° | 23.85% | 57.25% |
HSB/HSV | 246° | 30.23% | 67.45% |
CMYK | 27.33% | 30.23% | 0.00% |
32.55% |
HEX | 7D | 78 | AC |
Decimal | 125 | 120 | 172 |
Binary | 1111101 | 1111000 | 10101100 |
Octal | 175 | 170 | 254 |
Examples of css and html codes for elements with #7D78AC color. Also use rgb(125,120,172) instead hex code.
.myTextColor { color: #7D78AC; }
<p style="color:#7D78AC">This sample text font color is #7D78AC.</p>
This text font color is #7D78AC.
.myBgColor { background-color: #7D78AC; }
<div style="background-color:#7D78AC">Inner text</div>
This div background color is #7D78AC.
.myBorderColor { border: 1px solid #7D78AC; }
<div style="border:3px solid #7D78AC">Div</div>
This div border color is #7D78AC.
.myOpacity80 { color: #7D78AC; opacity: 0.8; }
<p style="color:#7D78AC;opacity:0.8;">80%</p>
Text with #7D78AC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D78AC;}
<p style="text-shadow: 3px 3px 1px #7D78AC">Text here.</p>
This text has shadow with #7D78AC color.
.textShadow {text-shadow: 3px 3px 1px #7D78AC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D78AC, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D78AC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D78AC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D78AC, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D78AC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D78AC; -webkit-box-shadow: 1px 1px 3px 2px #7D78AC; box-shadow: 1px 1px 3px 2px #7D78AC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D78AC; -webkit-box-shadow: 1px 1px 3px 2px #7D78AC; box-shadow:1px 1px 3px 2px #7D78AC;">
Div content here</div>
This text has color #7D78AC on black background.
This text has color #7D78AC on white background.
This text has black color on #7D78AC background.
This text has white color on #7D78AC background.