HEX: #74875C
RGB: (116,135,92)
#74875C contains red, green and blue colors in about the same proportion. Web safe color of #74875C is #669966 (or #696).
#74875C color RGB value is (116,135,92).
RGB: (116,135,92) (45%,53%,36%)
R 116 of 255 = 45%
G 135 of 255 = 53%
B 92 of 255 = 36%
R + G + B ~ 45%. #74875C is middle color (not dark and not light).
R + G + B =
116 + 135 + 92 = 343 (100%)
R 116 of 343 ~ 33.82%
G 135 of 343 ~ 39.36%
B 92 of 343 ~ 26.82%
#74875C color CMYK value is (14,0,32,47).
CMYK: (14,0,32,47) C14M0Y32K47 (14%,0%,32%,47%) (0.14/0.00/0.32/0.47)
74 | 87 | 5C | |
---|---|---|---|
RGB | 116 | 135 | 92 |
HSL | 87° | 18.94% | 44.51% |
HSB/HSV | 87° | 31.85% | 52.94% |
CMYK | 14.07% | 0.00% | 31.85% |
47.06% |
HEX | 74 | 87 | 5C |
Decimal | 116 | 135 | 92 |
Binary | 1110100 | 10000111 | 1011100 |
Octal | 164 | 207 | 134 |
Examples of css and html codes for elements with #74875C color. Also use rgb(116,135,92) instead hex code.
.myTextColor { color: #74875C; }
<p style="color:#74875C">This sample text font color is #74875C.</p>
This text font color is #74875C.
.myBgColor { background-color: #74875C; }
<div style="background-color:#74875C">Inner text</div>
This div background color is #74875C.
.myBorderColor { border: 1px solid #74875C; }
<div style="border:3px solid #74875C">Div</div>
This div border color is #74875C.
.myOpacity80 { color: #74875C; opacity: 0.8; }
<p style="color:#74875C;opacity:0.8;">80%</p>
Text with #74875C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74875C;}
<p style="text-shadow: 3px 3px 1px #74875C">Text here.</p>
This text has shadow with #74875C color.
.textShadow {text-shadow: 3px 3px 1px #74875C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74875C, 5px 5px 20px red">Text here.</p>
This text has shadow with #74875C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74875C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74875C, Direction=45, Strength=4)">Text</p>
This text has shadow with #74875C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74875C; -webkit-box-shadow: 1px 1px 3px 2px #74875C; box-shadow: 1px 1px 3px 2px #74875C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74875C; -webkit-box-shadow: 1px 1px 3px 2px #74875C; box-shadow:1px 1px 3px 2px #74875C;">
Div content here</div>
This text has color #74875C on black background.
This text has color #74875C on white background.
This text has black color on #74875C background.
This text has white color on #74875C background.