HEX: #40683C
RGB: (64,104,60)
#40683C contains red, green and blue colors in about the same proportion. Web safe color of #40683C is #336633 (or #363).
#40683C color RGB value is (64,104,60).
RGB: (64,104,60) (25%,41%,24%)
R 64 of 255 = 25%
G 104 of 255 = 41%
B 60 of 255 = 24%
R + G + B ~ 30%. #40683C is quite dark color.
R + G + B =
64 + 104 + 60 = 228 (100%)
R 64 of 228 ~ 28.07%
G 104 of 228 ~ 45.61%
B 60 of 228 ~ 26.32%
#40683C color CMYK value is (38,0,42,59).
CMYK: (38,0,42,59) C38M0Y42K59 (38%,0%,42%,59%) (0.38/0.00/0.42/0.59)
40 | 68 | 3C | |
---|---|---|---|
RGB | 64 | 104 | 60 |
HSL | 115° | 26.83% | 32.16% |
HSB/HSV | 115° | 42.31% | 40.78% |
CMYK | 38.46% | 0.00% | 42.31% |
59.22% |
HEX | 40 | 68 | 3C |
Decimal | 64 | 104 | 60 |
Binary | 1000000 | 1101000 | 111100 |
Octal | 100 | 150 | 74 |
Examples of css and html codes for elements with #40683C color. Also use rgb(64,104,60) instead hex code.
.myTextColor { color: #40683C; }
<p style="color:#40683C">This sample text font color is #40683C.</p>
This text font color is #40683C.
.myBgColor { background-color: #40683C; }
<div style="background-color:#40683C">Inner text</div>
This div background color is #40683C.
.myBorderColor { border: 1px solid #40683C; }
<div style="border:3px solid #40683C">Div</div>
This div border color is #40683C.
.myOpacity80 { color: #40683C; opacity: 0.8; }
<p style="color:#40683C;opacity:0.8;">80%</p>
Text with #40683C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #40683C;}
<p style="text-shadow: 3px 3px 1px #40683C">Text here.</p>
This text has shadow with #40683C color.
.textShadow {text-shadow: 3px 3px 1px #40683C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #40683C, 5px 5px 20px red">Text here.</p>
This text has shadow with #40683C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#40683C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#40683C, Direction=45, Strength=4)">Text</p>
This text has shadow with #40683C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #40683C; -webkit-box-shadow: 1px 1px 3px 2px #40683C; box-shadow: 1px 1px 3px 2px #40683C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #40683C; -webkit-box-shadow: 1px 1px 3px 2px #40683C; box-shadow:1px 1px 3px 2px #40683C;">
Div content here</div>
This text has color #40683C on black background.
This text has color #40683C on white background.
This text has black color on #40683C background.
This text has white color on #40683C background.