HEX: #4C040A
RGB: (76,4,10)
#4C040A contains mainly red color. Web safe color of #4C040A is #330000 (or #300).
#4C040A color RGB value is (76,4,10).
RGB: (76,4,10) (30%,2%,4%)
R 76 of 255 = 30%
G 4 of 255 = 2%
B 10 of 255 = 4%
R + G + B ~ 12%. #4C040A is dark color.
R + G + B =
76 + 4 + 10 = 90 (100%)
R 76 of 90 ~ 84.44%
G 4 of 90 ~ 4.44%
B 10 of 90 ~ 11.11%
#4C040A color CMYK value is (0,95,87,70).
CMYK: (0,95,87,70) C0M95Y87K70 (0%,95%,87%,70%) (0.00/0.95/0.87/0.70)
4C | 04 | 0A | |
---|---|---|---|
RGB | 76 | 4 | 10 |
HSL | 355° | 90.00% | 15.69% |
HSB/HSV | 355° | 94.74% | 29.80% |
CMYK | 0.00% | 94.74% | 86.84% |
70.20% |
HEX | 4C | 04 | 0A |
Decimal | 76 | 4 | 10 |
Binary | 1001100 | 100 | 1010 |
Octal | 114 | 4 | 12 |
Examples of css and html codes for elements with #4C040A color. Also use rgb(76,4,10) instead hex code.
.myTextColor { color: #4C040A; }
<p style="color:#4C040A">This sample text font color is #4C040A.</p>
This text font color is #4C040A.
.myBgColor { background-color: #4C040A; }
<div style="background-color:#4C040A">Inner text</div>
This div background color is #4C040A.
.myBorderColor { border: 1px solid #4C040A; }
<div style="border:3px solid #4C040A">Div</div>
This div border color is #4C040A.
.myOpacity80 { color: #4C040A; opacity: 0.8; }
<p style="color:#4C040A;opacity:0.8;">80%</p>
Text with #4C040A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C040A;}
<p style="text-shadow: 3px 3px 1px #4C040A">Text here.</p>
This text has shadow with #4C040A color.
.textShadow {text-shadow: 3px 3px 1px #4C040A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C040A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C040A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C040A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C040A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C040A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C040A; -webkit-box-shadow: 1px 1px 3px 2px #4C040A; box-shadow: 1px 1px 3px 2px #4C040A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C040A; -webkit-box-shadow: 1px 1px 3px 2px #4C040A; box-shadow:1px 1px 3px 2px #4C040A;">
Div content here</div>
This text has color #4C040A on black background.
This text has color #4C040A on white background.
This text has black color on #4C040A background.
This text has white color on #4C040A background.