HEX: #7D789D
RGB: (125,120,157)
#7D789D contains red, green and blue colors in about the same proportion. Web safe color of #7D789D is #666699 (or #669).
#7D789D color RGB value is (125,120,157).
RGB: (125,120,157) (49%,47%,62%)
R 125 of 255 = 49%
G 120 of 255 = 47%
B 157 of 255 = 62%
R + G + B ~ 53%. #7D789D is middle color (not dark and not light).
R + G + B =
125 + 120 + 157 = 402 (100%)
R 125 of 402 ~ 31.09%
G 120 of 402 ~ 29.85%
B 157 of 402 ~ 39.05%
#7D789D color CMYK value is (20,24,0,38).
CMYK: (20,24,0,38) C20M24Y0K38 (20%,24%,0%,38%) (0.20/0.24/0.00/0.38)
7D | 78 | 9D | |
---|---|---|---|
RGB | 125 | 120 | 157 |
HSL | 248° | 15.88% | 54.31% |
HSB/HSV | 248° | 23.57% | 61.57% |
CMYK | 20.38% | 23.57% | 0.00% |
38.43% |
HEX | 7D | 78 | 9D |
Decimal | 125 | 120 | 157 |
Binary | 1111101 | 1111000 | 10011101 |
Octal | 175 | 170 | 235 |
Examples of css and html codes for elements with #7D789D color. Also use rgb(125,120,157) instead hex code.
.myTextColor { color: #7D789D; }
<p style="color:#7D789D">This sample text font color is #7D789D.</p>
This text font color is #7D789D.
.myBgColor { background-color: #7D789D; }
<div style="background-color:#7D789D">Inner text</div>
This div background color is #7D789D.
.myBorderColor { border: 1px solid #7D789D; }
<div style="border:3px solid #7D789D">Div</div>
This div border color is #7D789D.
.myOpacity80 { color: #7D789D; opacity: 0.8; }
<p style="color:#7D789D;opacity:0.8;">80%</p>
Text with #7D789D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D789D;}
<p style="text-shadow: 3px 3px 1px #7D789D">Text here.</p>
This text has shadow with #7D789D color.
.textShadow {text-shadow: 3px 3px 1px #7D789D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D789D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D789D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D789D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D789D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D789D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D789D; -webkit-box-shadow: 1px 1px 3px 2px #7D789D; box-shadow: 1px 1px 3px 2px #7D789D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D789D; -webkit-box-shadow: 1px 1px 3px 2px #7D789D; box-shadow:1px 1px 3px 2px #7D789D;">
Div content here</div>
This text has color #7D789D on black background.
This text has color #7D789D on white background.
This text has black color on #7D789D background.
This text has white color on #7D789D background.