HEX: #4B120D
RGB: (75,18,13)
#4B120D contains mainly red and green colors. Web safe color of #4B120D is #330000 (or #300).
#4B120D color RGB value is (75,18,13).
RGB: (75,18,13) (29%,7%,5%)
R 75 of 255 = 29%
G 18 of 255 = 7%
B 13 of 255 = 5%
R + G + B ~ 14%. #4B120D is dark color.
R + G + B =
75 + 18 + 13 = 106 (100%)
R 75 of 106 ~ 70.75%
G 18 of 106 ~ 16.98%
B 13 of 106 ~ 12.26%
#4B120D color CMYK value is (0,76,83,71).
CMYK: (0,76,83,71) C0M76Y83K71 (0%,76%,83%,71%) (0.00/0.76/0.83/0.71)
4B | 12 | 0D | |
---|---|---|---|
RGB | 75 | 18 | 13 |
HSL | 5° | 70.45% | 17.25% |
HSB/HSV | 5° | 82.67% | 29.41% |
CMYK | 0.00% | 76.00% | 82.67% |
70.59% |
HEX | 4B | 12 | 0D |
Decimal | 75 | 18 | 13 |
Binary | 1001011 | 10010 | 1101 |
Octal | 113 | 22 | 15 |
Examples of css and html codes for elements with #4B120D color. Also use rgb(75,18,13) instead hex code.
.myTextColor { color: #4B120D; }
<p style="color:#4B120D">This sample text font color is #4B120D.</p>
This text font color is #4B120D.
.myBgColor { background-color: #4B120D; }
<div style="background-color:#4B120D">Inner text</div>
This div background color is #4B120D.
.myBorderColor { border: 1px solid #4B120D; }
<div style="border:3px solid #4B120D">Div</div>
This div border color is #4B120D.
.myOpacity80 { color: #4B120D; opacity: 0.8; }
<p style="color:#4B120D;opacity:0.8;">80%</p>
Text with #4B120D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B120D;}
<p style="text-shadow: 3px 3px 1px #4B120D">Text here.</p>
This text has shadow with #4B120D color.
.textShadow {text-shadow: 3px 3px 1px #4B120D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B120D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B120D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B120D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B120D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B120D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B120D; -webkit-box-shadow: 1px 1px 3px 2px #4B120D; box-shadow: 1px 1px 3px 2px #4B120D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B120D; -webkit-box-shadow: 1px 1px 3px 2px #4B120D; box-shadow:1px 1px 3px 2px #4B120D;">
Div content here</div>
This text has color #4B120D on black background.
This text has color #4B120D on white background.
This text has black color on #4B120D background.
This text has white color on #4B120D background.