HEX: #6A784A
RGB: (106,120,74)
#6A784A contains red, green and blue colors in about the same proportion. Web safe color of #6A784A is #666633 (or #663).
#6A784A color RGB value is (106,120,74).
RGB: (106,120,74) (42%,47%,29%)
R 106 of 255 = 42%
G 120 of 255 = 47%
B 74 of 255 = 29%
R + G + B ~ 39%. #6A784A is quite dark color.
R + G + B =
106 + 120 + 74 = 300 (100%)
R 106 of 300 ~ 35.33%
G 120 of 300 ~ 40%
B 74 of 300 ~ 24.67%
#6A784A color CMYK value is (12,0,38,53).
CMYK: (12,0,38,53) C12M0Y38K53 (12%,0%,38%,53%) (0.12/0.00/0.38/0.53)
6A | 78 | 4A | |
---|---|---|---|
RGB | 106 | 120 | 74 |
HSL | 78° | 23.71% | 38.04% |
HSB/HSV | 78° | 38.33% | 47.06% |
CMYK | 11.67% | 0.00% | 38.33% |
52.94% |
HEX | 6A | 78 | 4A |
Decimal | 106 | 120 | 74 |
Binary | 1101010 | 1111000 | 1001010 |
Octal | 152 | 170 | 112 |
Examples of css and html codes for elements with #6A784A color. Also use rgb(106,120,74) instead hex code.
.myTextColor { color: #6A784A; }
<p style="color:#6A784A">This sample text font color is #6A784A.</p>
This text font color is #6A784A.
.myBgColor { background-color: #6A784A; }
<div style="background-color:#6A784A">Inner text</div>
This div background color is #6A784A.
.myBorderColor { border: 1px solid #6A784A; }
<div style="border:3px solid #6A784A">Div</div>
This div border color is #6A784A.
.myOpacity80 { color: #6A784A; opacity: 0.8; }
<p style="color:#6A784A;opacity:0.8;">80%</p>
Text with #6A784A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A784A;}
<p style="text-shadow: 3px 3px 1px #6A784A">Text here.</p>
This text has shadow with #6A784A color.
.textShadow {text-shadow: 3px 3px 1px #6A784A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A784A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A784A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A784A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A784A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A784A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A784A; -webkit-box-shadow: 1px 1px 3px 2px #6A784A; box-shadow: 1px 1px 3px 2px #6A784A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A784A; -webkit-box-shadow: 1px 1px 3px 2px #6A784A; box-shadow:1px 1px 3px 2px #6A784A;">
Div content here</div>
This text has color #6A784A on black background.
This text has color #6A784A on white background.
This text has black color on #6A784A background.
This text has white color on #6A784A background.