HEX: #4C240C
RGB: (76,36,12)
#4C240C contains mainly red and green colors. Web safe color of #4C240C is #333300 (or #330).
#4C240C color RGB value is (76,36,12).
RGB: (76,36,12) (30%,14%,5%)
R 76 of 255 = 30%
G 36 of 255 = 14%
B 12 of 255 = 5%
R + G + B ~ 16%. #4C240C is dark color.
R + G + B =
76 + 36 + 12 = 124 (100%)
R 76 of 124 ~ 61.29%
G 36 of 124 ~ 29.03%
B 12 of 124 ~ 9.68%
#4C240C color CMYK value is (0,53,84,70).
CMYK: (0,53,84,70) C0M53Y84K70 (0%,53%,84%,70%) (0.00/0.53/0.84/0.70)
4C | 24 | 0C | |
---|---|---|---|
RGB | 76 | 36 | 12 |
HSL | 23° | 72.73% | 17.25% |
HSB/HSV | 23° | 84.21% | 29.80% |
CMYK | 0.00% | 52.63% | 84.21% |
70.20% |
HEX | 4C | 24 | 0C |
Decimal | 76 | 36 | 12 |
Binary | 1001100 | 100100 | 1100 |
Octal | 114 | 44 | 14 |
Examples of css and html codes for elements with #4C240C color. Also use rgb(76,36,12) instead hex code.
.myTextColor { color: #4C240C; }
<p style="color:#4C240C">This sample text font color is #4C240C.</p>
This text font color is #4C240C.
.myBgColor { background-color: #4C240C; }
<div style="background-color:#4C240C">Inner text</div>
This div background color is #4C240C.
.myBorderColor { border: 1px solid #4C240C; }
<div style="border:3px solid #4C240C">Div</div>
This div border color is #4C240C.
.myOpacity80 { color: #4C240C; opacity: 0.8; }
<p style="color:#4C240C;opacity:0.8;">80%</p>
Text with #4C240C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C240C;}
<p style="text-shadow: 3px 3px 1px #4C240C">Text here.</p>
This text has shadow with #4C240C color.
.textShadow {text-shadow: 3px 3px 1px #4C240C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C240C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C240C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C240C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C240C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C240C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C240C; -webkit-box-shadow: 1px 1px 3px 2px #4C240C; box-shadow: 1px 1px 3px 2px #4C240C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C240C; -webkit-box-shadow: 1px 1px 3px 2px #4C240C; box-shadow:1px 1px 3px 2px #4C240C;">
Div content here</div>
This text has color #4C240C on black background.
This text has color #4C240C on white background.
This text has black color on #4C240C background.
This text has white color on #4C240C background.