HEX: #426B2A
RGB: (66,107,42)
#426B2A contains mainly red and green colors. Web safe color of #426B2A is #336633 (or #363).
#426B2A color RGB value is (66,107,42).
RGB: (66,107,42) (26%,42%,16%)
R 66 of 255 = 26%
G 107 of 255 = 42%
B 42 of 255 = 16%
R + G + B ~ 28%. #426B2A is quite dark color.
R + G + B =
66 + 107 + 42 = 215 (100%)
R 66 of 215 ~ 30.7%
G 107 of 215 ~ 49.77%
B 42 of 215 ~ 19.53%
#426B2A color CMYK value is (38,0,61,58).
CMYK: (38,0,61,58) C38M0Y61K58 (38%,0%,61%,58%) (0.38/0.00/0.61/0.58)
42 | 6B | 2A | |
---|---|---|---|
RGB | 66 | 107 | 42 |
HSL | 98° | 43.62% | 29.22% |
HSB/HSV | 98° | 60.75% | 41.96% |
CMYK | 38.32% | 0.00% | 60.75% |
58.04% |
HEX | 42 | 6B | 2A |
Decimal | 66 | 107 | 42 |
Binary | 1000010 | 1101011 | 101010 |
Octal | 102 | 153 | 52 |
Examples of css and html codes for elements with #426B2A color. Also use rgb(66,107,42) instead hex code.
.myTextColor { color: #426B2A; }
<p style="color:#426B2A">This sample text font color is #426B2A.</p>
This text font color is #426B2A.
.myBgColor { background-color: #426B2A; }
<div style="background-color:#426B2A">Inner text</div>
This div background color is #426B2A.
.myBorderColor { border: 1px solid #426B2A; }
<div style="border:3px solid #426B2A">Div</div>
This div border color is #426B2A.
.myOpacity80 { color: #426B2A; opacity: 0.8; }
<p style="color:#426B2A;opacity:0.8;">80%</p>
Text with #426B2A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #426B2A;}
<p style="text-shadow: 3px 3px 1px #426B2A">Text here.</p>
This text has shadow with #426B2A color.
.textShadow {text-shadow: 3px 3px 1px #426B2A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #426B2A, 5px 5px 20px red">Text here.</p>
This text has shadow with #426B2A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#426B2A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#426B2A, Direction=45, Strength=4)">Text</p>
This text has shadow with #426B2A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #426B2A; -webkit-box-shadow: 1px 1px 3px 2px #426B2A; box-shadow: 1px 1px 3px 2px #426B2A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #426B2A; -webkit-box-shadow: 1px 1px 3px 2px #426B2A; box-shadow:1px 1px 3px 2px #426B2A;">
Div content here</div>
This text has color #426B2A on black background.
This text has color #426B2A on white background.
This text has black color on #426B2A background.
This text has white color on #426B2A background.