HEX: #40764A
RGB: (64,118,74)
#40764A contains red, green and blue colors in about the same proportion. Web safe color of #40764A is #336633 (or #363).
#40764A color RGB value is (64,118,74).
RGB: (64,118,74) (25%,46%,29%)
R 64 of 255 = 25%
G 118 of 255 = 46%
B 74 of 255 = 29%
R + G + B ~ 33%. #40764A is quite dark color.
R + G + B =
64 + 118 + 74 = 256 (100%)
R 64 of 256 ~ 25%
G 118 of 256 ~ 46.09%
B 74 of 256 ~ 28.91%
#40764A color CMYK value is (46,0,37,54).
CMYK: (46,0,37,54) C46M0Y37K54 (46%,0%,37%,54%) (0.46/0.00/0.37/0.54)
40 | 76 | 4A | |
---|---|---|---|
RGB | 64 | 118 | 74 |
HSL | 131° | 29.67% | 35.69% |
HSB/HSV | 131° | 45.76% | 46.27% |
CMYK | 45.76% | 0.00% | 37.29% |
53.73% |
HEX | 40 | 76 | 4A |
Decimal | 64 | 118 | 74 |
Binary | 1000000 | 1110110 | 1001010 |
Octal | 100 | 166 | 112 |
Examples of css and html codes for elements with #40764A color. Also use rgb(64,118,74) instead hex code.
.myTextColor { color: #40764A; }
<p style="color:#40764A">This sample text font color is #40764A.</p>
This text font color is #40764A.
.myBgColor { background-color: #40764A; }
<div style="background-color:#40764A">Inner text</div>
This div background color is #40764A.
.myBorderColor { border: 1px solid #40764A; }
<div style="border:3px solid #40764A">Div</div>
This div border color is #40764A.
.myOpacity80 { color: #40764A; opacity: 0.8; }
<p style="color:#40764A;opacity:0.8;">80%</p>
Text with #40764A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40764A;}
<p style="text-shadow: 3px 3px 1px #40764A">Text here.</p>
This text has shadow with #40764A color.
.textShadow {text-shadow: 3px 3px 1px #40764A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40764A, 5px 5px 20px red">Text here.</p>
This text has shadow with #40764A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40764A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40764A, Direction=45, Strength=4)">Text</p>
This text has shadow with #40764A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40764A; -webkit-box-shadow: 1px 1px 3px 2px #40764A; box-shadow: 1px 1px 3px 2px #40764A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40764A; -webkit-box-shadow: 1px 1px 3px 2px #40764A; box-shadow:1px 1px 3px 2px #40764A;">
Div content here</div>
This text has color #40764A on black background.
This text has color #40764A on white background.
This text has black color on #40764A background.
This text has white color on #40764A background.