HEX: #426636
RGB: (66,102,54)
#426636 contains red, green and blue colors in about the same proportion. Web safe color of #426636 is #336633 (or #363).
#426636 color RGB value is (66,102,54).
RGB: (66,102,54) (26%,40%,21%)
R 66 of 255 = 26%
G 102 of 255 = 40%
B 54 of 255 = 21%
R + G + B ~ 29%. #426636 is quite dark color.
R + G + B =
66 + 102 + 54 = 222 (100%)
R 66 of 222 ~ 29.73%
G 102 of 222 ~ 45.95%
B 54 of 222 ~ 24.32%
#426636 color CMYK value is (35,0,47,60).
CMYK: (35,0,47,60) C35M0Y47K60 (35%,0%,47%,60%) (0.35/0.00/0.47/0.60)
42 | 66 | 36 | |
---|---|---|---|
RGB | 66 | 102 | 54 |
HSL | 105° | 30.77% | 30.59% |
HSB/HSV | 105° | 47.06% | 40.00% |
CMYK | 35.29% | 0.00% | 47.06% |
60.00% |
HEX | 42 | 66 | 36 |
Decimal | 66 | 102 | 54 |
Binary | 1000010 | 1100110 | 110110 |
Octal | 102 | 146 | 66 |
Examples of css and html codes for elements with #426636 color. Also use rgb(66,102,54) instead hex code.
.myTextColor { color: #426636; }
<p style="color:#426636">This sample text font color is #426636.</p>
This text font color is #426636.
.myBgColor { background-color: #426636; }
<div style="background-color:#426636">Inner text</div>
This div background color is #426636.
.myBorderColor { border: 1px solid #426636; }
<div style="border:3px solid #426636">Div</div>
This div border color is #426636.
.myOpacity80 { color: #426636; opacity: 0.8; }
<p style="color:#426636;opacity:0.8;">80%</p>
Text with #426636 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #426636;}
<p style="text-shadow: 3px 3px 1px #426636">Text here.</p>
This text has shadow with #426636 color.
.textShadow {text-shadow: 3px 3px 1px #426636, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #426636, 5px 5px 20px red">Text here.</p>
This text has shadow with #426636 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#426636, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#426636, Direction=45, Strength=4)">Text</p>
This text has shadow with #426636 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #426636; -webkit-box-shadow: 1px 1px 3px 2px #426636; box-shadow: 1px 1px 3px 2px #426636; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #426636; -webkit-box-shadow: 1px 1px 3px 2px #426636; box-shadow:1px 1px 3px 2px #426636;">
Div content here</div>
This text has color #426636 on black background.
This text has color #426636 on white background.
This text has black color on #426636 background.
This text has white color on #426636 background.