HEX: #74997A
RGB: (116,153,122)
#74997A contains red, green and blue colors in about the same proportion. Web safe color of #74997A is #669966 (or #696).
#74997A color RGB value is (116,153,122).
RGB: (116,153,122) (45%,60%,48%)
R 116 of 255 = 45%
G 153 of 255 = 60%
B 122 of 255 = 48%
R + G + B ~ 51%. #74997A is middle color (not dark and not light).
R + G + B =
116 + 153 + 122 = 391 (100%)
R 116 of 391 ~ 29.67%
G 153 of 391 ~ 39.13%
B 122 of 391 ~ 31.2%
#74997A color CMYK value is (24,0,20,40).
CMYK: (24,0,20,40) C24M0Y20K40 (24%,0%,20%,40%) (0.24/0.00/0.20/0.40)
74 | 99 | 7A | |
---|---|---|---|
RGB | 116 | 153 | 122 |
HSL | 130° | 15.35% | 52.75% |
HSB/HSV | 130° | 24.18% | 60.00% |
CMYK | 24.18% | 0.00% | 20.26% |
40.00% |
HEX | 74 | 99 | 7A |
Decimal | 116 | 153 | 122 |
Binary | 1110100 | 10011001 | 1111010 |
Octal | 164 | 231 | 172 |
Examples of css and html codes for elements with #74997A color. Also use rgb(116,153,122) instead hex code.
.myTextColor { color: #74997A; }
<p style="color:#74997A">This sample text font color is #74997A.</p>
This text font color is #74997A.
.myBgColor { background-color: #74997A; }
<div style="background-color:#74997A">Inner text</div>
This div background color is #74997A.
.myBorderColor { border: 1px solid #74997A; }
<div style="border:3px solid #74997A">Div</div>
This div border color is #74997A.
.myOpacity80 { color: #74997A; opacity: 0.8; }
<p style="color:#74997A;opacity:0.8;">80%</p>
Text with #74997A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74997A;}
<p style="text-shadow: 3px 3px 1px #74997A">Text here.</p>
This text has shadow with #74997A color.
.textShadow {text-shadow: 3px 3px 1px #74997A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74997A, 5px 5px 20px red">Text here.</p>
This text has shadow with #74997A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74997A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74997A, Direction=45, Strength=4)">Text</p>
This text has shadow with #74997A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74997A; -webkit-box-shadow: 1px 1px 3px 2px #74997A; box-shadow: 1px 1px 3px 2px #74997A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74997A; -webkit-box-shadow: 1px 1px 3px 2px #74997A; box-shadow:1px 1px 3px 2px #74997A;">
Div content here</div>
This text has color #74997A on black background.
This text has color #74997A on white background.
This text has black color on #74997A background.
This text has white color on #74997A background.