HEX: #7B988C
RGB: (123,152,140)
#7B988C contains red, green and blue colors in about the same proportion. Web safe color of #7B988C is #669999 (or #699).
#7B988C color RGB value is (123,152,140).
RGB: (123,152,140) (48%,60%,55%)
R 123 of 255 = 48%
G 152 of 255 = 60%
B 140 of 255 = 55%
R + G + B ~ 54%. #7B988C is middle color (not dark and not light).
R + G + B =
123 + 152 + 140 = 415 (100%)
R 123 of 415 ~ 29.64%
G 152 of 415 ~ 36.63%
B 140 of 415 ~ 33.73%
#7B988C color CMYK value is (19,0,8,40).
CMYK: (19,0,8,40) C19M0Y8K40 (19%,0%,8%,40%) (0.19/0.00/0.08/0.40)
7B | 98 | 8C | |
---|---|---|---|
RGB | 123 | 152 | 140 |
HSL | 155° | 12.34% | 53.92% |
HSB/HSV | 155° | 19.08% | 59.61% |
CMYK | 19.08% | 0.00% | 7.89% |
40.39% |
HEX | 7B | 98 | 8C |
Decimal | 123 | 152 | 140 |
Binary | 1111011 | 10011000 | 10001100 |
Octal | 173 | 230 | 214 |
Examples of css and html codes for elements with #7B988C color. Also use rgb(123,152,140) instead hex code.
.myTextColor { color: #7B988C; }
<p style="color:#7B988C">This sample text font color is #7B988C.</p>
This text font color is #7B988C.
.myBgColor { background-color: #7B988C; }
<div style="background-color:#7B988C">Inner text</div>
This div background color is #7B988C.
.myBorderColor { border: 1px solid #7B988C; }
<div style="border:3px solid #7B988C">Div</div>
This div border color is #7B988C.
.myOpacity80 { color: #7B988C; opacity: 0.8; }
<p style="color:#7B988C;opacity:0.8;">80%</p>
Text with #7B988C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B988C;}
<p style="text-shadow: 3px 3px 1px #7B988C">Text here.</p>
This text has shadow with #7B988C color.
.textShadow {text-shadow: 3px 3px 1px #7B988C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B988C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B988C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B988C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B988C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B988C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B988C; -webkit-box-shadow: 1px 1px 3px 2px #7B988C; box-shadow: 1px 1px 3px 2px #7B988C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B988C; -webkit-box-shadow: 1px 1px 3px 2px #7B988C; box-shadow:1px 1px 3px 2px #7B988C;">
Div content here</div>
This text has color #7B988C on black background.
This text has color #7B988C on white background.
This text has black color on #7B988C background.
This text has white color on #7B988C background.