HEX: #7B998C
RGB: (123,153,140)
#7B998C contains red, green and blue colors in about the same proportion. Web safe color of #7B998C is #669999 (or #699).
#7B998C color RGB value is (123,153,140).
RGB: (123,153,140) (48%,60%,55%)
R 123 of 255 = 48%
G 153 of 255 = 60%
B 140 of 255 = 55%
R + G + B ~ 54%. #7B998C is middle color (not dark and not light).
R + G + B =
123 + 153 + 140 = 416 (100%)
R 123 of 416 ~ 29.57%
G 153 of 416 ~ 36.78%
B 140 of 416 ~ 33.65%
#7B998C color CMYK value is (20,0,8,40).
CMYK: (20,0,8,40) C20M0Y8K40 (20%,0%,8%,40%) (0.20/0.00/0.08/0.40)
7B | 99 | 8C | |
---|---|---|---|
RGB | 123 | 153 | 140 |
HSL | 154° | 12.82% | 54.12% |
HSB/HSV | 154° | 19.61% | 60.00% |
CMYK | 19.61% | 0.00% | 8.50% |
40.00% |
HEX | 7B | 99 | 8C |
Decimal | 123 | 153 | 140 |
Binary | 1111011 | 10011001 | 10001100 |
Octal | 173 | 231 | 214 |
Examples of css and html codes for elements with #7B998C color. Also use rgb(123,153,140) instead hex code.
.myTextColor { color: #7B998C; }
<p style="color:#7B998C">This sample text font color is #7B998C.</p>
This text font color is #7B998C.
.myBgColor { background-color: #7B998C; }
<div style="background-color:#7B998C">Inner text</div>
This div background color is #7B998C.
.myBorderColor { border: 1px solid #7B998C; }
<div style="border:3px solid #7B998C">Div</div>
This div border color is #7B998C.
.myOpacity80 { color: #7B998C; opacity: 0.8; }
<p style="color:#7B998C;opacity:0.8;">80%</p>
Text with #7B998C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B998C;}
<p style="text-shadow: 3px 3px 1px #7B998C">Text here.</p>
This text has shadow with #7B998C color.
.textShadow {text-shadow: 3px 3px 1px #7B998C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B998C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B998C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B998C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B998C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B998C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B998C; -webkit-box-shadow: 1px 1px 3px 2px #7B998C; box-shadow: 1px 1px 3px 2px #7B998C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B998C; -webkit-box-shadow: 1px 1px 3px 2px #7B998C; box-shadow:1px 1px 3px 2px #7B998C;">
Div content here</div>
This text has color #7B998C on black background.
This text has color #7B998C on white background.
This text has black color on #7B998C background.
This text has white color on #7B998C background.