HEX: #4A500A
RGB: (74,80,10)
#4A500A contains mainly red and green colors. Web safe color of #4A500A is #336600 (or #360).
#4A500A color RGB value is (74,80,10).
RGB: (74,80,10) (29%,31%,4%)
R 74 of 255 = 29%
G 80 of 255 = 31%
B 10 of 255 = 4%
R + G + B ~ 21%. #4A500A is dark color.
R + G + B =
74 + 80 + 10 = 164 (100%)
R 74 of 164 ~ 45.12%
G 80 of 164 ~ 48.78%
B 10 of 164 ~ 6.1%
#4A500A color CMYK value is (7,0,88,69).
CMYK: (7,0,88,69) C7M0Y88K69 (7%,0%,88%,69%) (0.07/0.00/0.88/0.69)
4A | 50 | 0A | |
---|---|---|---|
RGB | 74 | 80 | 10 |
HSL | 65° | 77.78% | 17.65% |
HSB/HSV | 65° | 87.50% | 31.37% |
CMYK | 7.50% | 0.00% | 87.50% |
68.63% |
HEX | 4A | 50 | 0A |
Decimal | 74 | 80 | 10 |
Binary | 1001010 | 1010000 | 1010 |
Octal | 112 | 120 | 12 |
Examples of css and html codes for elements with #4A500A color. Also use rgb(74,80,10) instead hex code.
.myTextColor { color: #4A500A; }
<p style="color:#4A500A">This sample text font color is #4A500A.</p>
This text font color is #4A500A.
.myBgColor { background-color: #4A500A; }
<div style="background-color:#4A500A">Inner text</div>
This div background color is #4A500A.
.myBorderColor { border: 1px solid #4A500A; }
<div style="border:3px solid #4A500A">Div</div>
This div border color is #4A500A.
.myOpacity80 { color: #4A500A; opacity: 0.8; }
<p style="color:#4A500A;opacity:0.8;">80%</p>
Text with #4A500A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A500A;}
<p style="text-shadow: 3px 3px 1px #4A500A">Text here.</p>
This text has shadow with #4A500A color.
.textShadow {text-shadow: 3px 3px 1px #4A500A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A500A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A500A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A500A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A500A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A500A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A500A; -webkit-box-shadow: 1px 1px 3px 2px #4A500A; box-shadow: 1px 1px 3px 2px #4A500A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A500A; -webkit-box-shadow: 1px 1px 3px 2px #4A500A; box-shadow:1px 1px 3px 2px #4A500A;">
Div content here</div>
This text has color #4A500A on black background.
This text has color #4A500A on white background.
This text has black color on #4A500A background.
This text has white color on #4A500A background.