HEX: #74857B
RGB: (116,133,123)
#74857B contains red, green and blue colors in about the same proportion. Web safe color of #74857B is #669966 (or #696).
#74857B color RGB value is (116,133,123).
RGB: (116,133,123) (45%,52%,48%)
R 116 of 255 = 45%
G 133 of 255 = 52%
B 123 of 255 = 48%
R + G + B ~ 48%. #74857B is middle color (not dark and not light).
R + G + B =
116 + 133 + 123 = 372 (100%)
R 116 of 372 ~ 31.18%
G 133 of 372 ~ 35.75%
B 123 of 372 ~ 33.06%
#74857B color CMYK value is (13,0,8,48).
CMYK: (13,0,8,48) C13M0Y8K48 (13%,0%,8%,48%) (0.13/0.00/0.08/0.48)
74 | 85 | 7B | |
---|---|---|---|
RGB | 116 | 133 | 123 |
HSL | 145° | 6.83% | 48.82% |
HSB/HSV | 145° | 12.78% | 52.16% |
CMYK | 12.78% | 0.00% | 7.52% |
47.84% |
HEX | 74 | 85 | 7B |
Decimal | 116 | 133 | 123 |
Binary | 1110100 | 10000101 | 1111011 |
Octal | 164 | 205 | 173 |
Examples of css and html codes for elements with #74857B color. Also use rgb(116,133,123) instead hex code.
.myTextColor { color: #74857B; }
<p style="color:#74857B">This sample text font color is #74857B.</p>
This text font color is #74857B.
.myBgColor { background-color: #74857B; }
<div style="background-color:#74857B">Inner text</div>
This div background color is #74857B.
.myBorderColor { border: 1px solid #74857B; }
<div style="border:3px solid #74857B">Div</div>
This div border color is #74857B.
.myOpacity80 { color: #74857B; opacity: 0.8; }
<p style="color:#74857B;opacity:0.8;">80%</p>
Text with #74857B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74857B;}
<p style="text-shadow: 3px 3px 1px #74857B">Text here.</p>
This text has shadow with #74857B color.
.textShadow {text-shadow: 3px 3px 1px #74857B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74857B, 5px 5px 20px red">Text here.</p>
This text has shadow with #74857B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74857B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74857B, Direction=45, Strength=4)">Text</p>
This text has shadow with #74857B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74857B; -webkit-box-shadow: 1px 1px 3px 2px #74857B; box-shadow: 1px 1px 3px 2px #74857B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74857B; -webkit-box-shadow: 1px 1px 3px 2px #74857B; box-shadow:1px 1px 3px 2px #74857B;">
Div content here</div>
This text has color #74857B on black background.
This text has color #74857B on white background.
This text has black color on #74857B background.
This text has white color on #74857B background.