HEX: #74B268
RGB: (116,178,104)
#74B268 contains mainly green color. Web safe color of #74B268 is #669966 (or #696).
#74B268 color RGB value is (116,178,104).
RGB: (116,178,104) (45%,70%,41%)
R 116 of 255 = 45%
G 178 of 255 = 70%
B 104 of 255 = 41%
R + G + B ~ 52%. #74B268 is middle color (not dark and not light).
R + G + B =
116 + 178 + 104 = 398 (100%)
R 116 of 398 ~ 29.15%
G 178 of 398 ~ 44.72%
B 104 of 398 ~ 26.13%
#74B268 color CMYK value is (35,0,42,30).
CMYK: (35,0,42,30) C35M0Y42K30 (35%,0%,42%,30%) (0.35/0.00/0.42/0.30)
74 | B2 | 68 | |
---|---|---|---|
RGB | 116 | 178 | 104 |
HSL | 110° | 32.46% | 55.29% |
HSB/HSV | 110° | 41.57% | 69.80% |
CMYK | 34.83% | 0.00% | 41.57% |
30.20% |
HEX | 74 | B2 | 68 |
Decimal | 116 | 178 | 104 |
Binary | 1110100 | 10110010 | 1101000 |
Octal | 164 | 262 | 150 |
Examples of css and html codes for elements with #74B268 color. Also use rgb(116,178,104) instead hex code.
.myTextColor { color: #74B268; }
<p style="color:#74B268">This sample text font color is #74B268.</p>
This text font color is #74B268.
.myBgColor { background-color: #74B268; }
<div style="background-color:#74B268">Inner text</div>
This div background color is #74B268.
.myBorderColor { border: 1px solid #74B268; }
<div style="border:3px solid #74B268">Div</div>
This div border color is #74B268.
.myOpacity80 { color: #74B268; opacity: 0.8; }
<p style="color:#74B268;opacity:0.8;">80%</p>
Text with #74B268 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #74B268;}
<p style="text-shadow: 3px 3px 1px #74B268">Text here.</p>
This text has shadow with #74B268 color.
.textShadow {text-shadow: 3px 3px 1px #74B268, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #74B268, 5px 5px 20px red">Text here.</p>
This text has shadow with #74B268 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#74B268, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#74B268, Direction=45, Strength=4)">Text</p>
This text has shadow with #74B268 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #74B268; -webkit-box-shadow: 1px 1px 3px 2px #74B268; box-shadow: 1px 1px 3px 2px #74B268; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #74B268; -webkit-box-shadow: 1px 1px 3px 2px #74B268; box-shadow:1px 1px 3px 2px #74B268;">
Div content here</div>
This text has color #74B268 on black background.
This text has color #74B268 on white background.
This text has black color on #74B268 background.
This text has white color on #74B268 background.