HEX: #C4121E
RGB: (196,18,30)
#C4121E contains mainly red color. Web safe color of #C4121E is #CC0033 (or #C03).
#C4121E color RGB value is (196,18,30).
RGB: (196,18,30) (77%,7%,12%)
R 196 of 255 = 77%
G 18 of 255 = 7%
B 30 of 255 = 12%
R + G + B ~ 32%. #C4121E is quite dark color.
R + G + B =
196 + 18 + 30 = 244 (100%)
R 196 of 244 ~ 80.33%
G 18 of 244 ~ 7.38%
B 30 of 244 ~ 12.3%
#C4121E color CMYK value is (0,91,85,23).
CMYK: (0,91,85,23) C0M91Y85K23 (0%,91%,85%,23%) (0.00/0.91/0.85/0.23)
C4 | 12 | 1E | |
---|---|---|---|
RGB | 196 | 18 | 30 |
HSL | 356° | 83.18% | 41.96% |
HSB/HSV | 356° | 90.82% | 76.86% |
CMYK | 0.00% | 90.82% | 84.69% |
23.14% |
HEX | C4 | 12 | 1E |
Decimal | 196 | 18 | 30 |
Binary | 11000100 | 10010 | 11110 |
Octal | 304 | 22 | 36 |
Examples of css and html codes for elements with #C4121E color. Also use rgb(196,18,30) instead hex code.
.myTextColor { color: #C4121E; }
<p style="color:#C4121E">This sample text font color is #C4121E.</p>
This text font color is #C4121E.
.myBgColor { background-color: #C4121E; }
<div style="background-color:#C4121E">Inner text</div>
This div background color is #C4121E.
.myBorderColor { border: 1px solid #C4121E; }
<div style="border:3px solid #C4121E">Div</div>
This div border color is #C4121E.
.myOpacity80 { color: #C4121E; opacity: 0.8; }
<p style="color:#C4121E;opacity:0.8;">80%</p>
Text with #C4121E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4121E;}
<p style="text-shadow: 3px 3px 1px #C4121E">Text here.</p>
This text has shadow with #C4121E color.
.textShadow {text-shadow: 3px 3px 1px #C4121E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4121E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4121E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4121E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4121E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4121E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4121E; -webkit-box-shadow: 1px 1px 3px 2px #C4121E; box-shadow: 1px 1px 3px 2px #C4121E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4121E; -webkit-box-shadow: 1px 1px 3px 2px #C4121E; box-shadow:1px 1px 3px 2px #C4121E;">
Div content here</div>
This text has color #C4121E on black background.
This text has color #C4121E on white background.
This text has black color on #C4121E background.
This text has white color on #C4121E background.