HEX: #4B751D
RGB: (75,117,29)
#4B751D contains mainly red and green colors. Web safe color of #4B751D is #336633 (or #363).
#4B751D color RGB value is (75,117,29).
RGB: (75,117,29) (29%,46%,11%)
R 75 of 255 = 29%
G 117 of 255 = 46%
B 29 of 255 = 11%
R + G + B ~ 29%. #4B751D is quite dark color.
R + G + B =
75 + 117 + 29 = 221 (100%)
R 75 of 221 ~ 33.94%
G 117 of 221 ~ 52.94%
B 29 of 221 ~ 13.12%
#4B751D color CMYK value is (36,0,75,54).
CMYK: (36,0,75,54) C36M0Y75K54 (36%,0%,75%,54%) (0.36/0.00/0.75/0.54)
4B | 75 | 1D | |
---|---|---|---|
RGB | 75 | 117 | 29 |
HSL | 89° | 60.27% | 28.63% |
HSB/HSV | 89° | 75.21% | 45.88% |
CMYK | 35.90% | 0.00% | 75.21% |
54.12% |
HEX | 4B | 75 | 1D |
Decimal | 75 | 117 | 29 |
Binary | 1001011 | 1110101 | 11101 |
Octal | 113 | 165 | 35 |
Examples of css and html codes for elements with #4B751D color. Also use rgb(75,117,29) instead hex code.
.myTextColor { color: #4B751D; }
<p style="color:#4B751D">This sample text font color is #4B751D.</p>
This text font color is #4B751D.
.myBgColor { background-color: #4B751D; }
<div style="background-color:#4B751D">Inner text</div>
This div background color is #4B751D.
.myBorderColor { border: 1px solid #4B751D; }
<div style="border:3px solid #4B751D">Div</div>
This div border color is #4B751D.
.myOpacity80 { color: #4B751D; opacity: 0.8; }
<p style="color:#4B751D;opacity:0.8;">80%</p>
Text with #4B751D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B751D;}
<p style="text-shadow: 3px 3px 1px #4B751D">Text here.</p>
This text has shadow with #4B751D color.
.textShadow {text-shadow: 3px 3px 1px #4B751D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B751D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B751D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B751D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B751D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B751D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B751D; -webkit-box-shadow: 1px 1px 3px 2px #4B751D; box-shadow: 1px 1px 3px 2px #4B751D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B751D; -webkit-box-shadow: 1px 1px 3px 2px #4B751D; box-shadow:1px 1px 3px 2px #4B751D;">
Div content here</div>
This text has color #4B751D on black background.
This text has color #4B751D on white background.
This text has black color on #4B751D background.
This text has white color on #4B751D background.