HEX: #7D7FAB
RGB: (125,127,171)
#7D7FAB contains red, green and blue colors in about the same proportion. Web safe color of #7D7FAB is #666699 (or #669).
#7D7FAB color RGB value is (125,127,171).
RGB: (125,127,171) (49%,50%,67%)
R 125 of 255 = 49%
G 127 of 255 = 50%
B 171 of 255 = 67%
R + G + B ~ 55%. #7D7FAB is middle color (not dark and not light).
R + G + B =
125 + 127 + 171 = 423 (100%)
R 125 of 423 ~ 29.55%
G 127 of 423 ~ 30.02%
B 171 of 423 ~ 40.43%
#7D7FAB color CMYK value is (27,26,0,33).
CMYK: (27,26,0,33) C27M26Y0K33 (27%,26%,0%,33%) (0.27/0.26/0.00/0.33)
7D | 7F | AB | |
---|---|---|---|
RGB | 125 | 127 | 171 |
HSL | 237° | 21.50% | 58.04% |
HSB/HSV | 237° | 26.90% | 67.06% |
CMYK | 26.90% | 25.73% | 0.00% |
32.94% |
HEX | 7D | 7F | AB |
Decimal | 125 | 127 | 171 |
Binary | 1111101 | 1111111 | 10101011 |
Octal | 175 | 177 | 253 |
Examples of css and html codes for elements with #7D7FAB color. Also use rgb(125,127,171) instead hex code.
.myTextColor { color: #7D7FAB; }
<p style="color:#7D7FAB">This sample text font color is #7D7FAB.</p>
This text font color is #7D7FAB.
.myBgColor { background-color: #7D7FAB; }
<div style="background-color:#7D7FAB">Inner text</div>
This div background color is #7D7FAB.
.myBorderColor { border: 1px solid #7D7FAB; }
<div style="border:3px solid #7D7FAB">Div</div>
This div border color is #7D7FAB.
.myOpacity80 { color: #7D7FAB; opacity: 0.8; }
<p style="color:#7D7FAB;opacity:0.8;">80%</p>
Text with #7D7FAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D7FAB;}
<p style="text-shadow: 3px 3px 1px #7D7FAB">Text here.</p>
This text has shadow with #7D7FAB color.
.textShadow {text-shadow: 3px 3px 1px #7D7FAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D7FAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D7FAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D7FAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D7FAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D7FAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D7FAB; -webkit-box-shadow: 1px 1px 3px 2px #7D7FAB; box-shadow: 1px 1px 3px 2px #7D7FAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D7FAB; -webkit-box-shadow: 1px 1px 3px 2px #7D7FAB; box-shadow:1px 1px 3px 2px #7D7FAB;">
Div content here</div>
This text has color #7D7FAB on black background.
This text has color #7D7FAB on white background.
This text has black color on #7D7FAB background.
This text has white color on #7D7FAB background.