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