HEX: #C7122F
RGB: (199,18,47)
#C7122F contains mainly red color. Web safe color of #C7122F is #CC0033 (or #C03).
#C7122F color RGB value is (199,18,47).
RGB: (199,18,47) (78%,7%,18%)
R 199 of 255 = 78%
G 18 of 255 = 7%
B 47 of 255 = 18%
R + G + B ~ 34%. #C7122F is quite dark color.
R + G + B =
199 + 18 + 47 = 264 (100%)
R 199 of 264 ~ 75.38%
G 18 of 264 ~ 6.82%
B 47 of 264 ~ 17.8%
#C7122F color CMYK value is (0,91,76,22).
CMYK: (0,91,76,22) C0M91Y76K22 (0%,91%,76%,22%) (0.00/0.91/0.76/0.22)
C7 | 12 | 2F | |
---|---|---|---|
RGB | 199 | 18 | 47 |
HSL | 350° | 83.41% | 42.55% |
HSB/HSV | 350° | 90.95% | 78.04% |
CMYK | 0.00% | 90.95% | 76.38% |
21.96% |
HEX | C7 | 12 | 2F |
Decimal | 199 | 18 | 47 |
Binary | 11000111 | 10010 | 101111 |
Octal | 307 | 22 | 57 |
Examples of css and html codes for elements with #C7122F color. Also use rgb(199,18,47) instead hex code.
.myTextColor { color: #C7122F; }
<p style="color:#C7122F">This sample text font color is #C7122F.</p>
This text font color is #C7122F.
.myBgColor { background-color: #C7122F; }
<div style="background-color:#C7122F">Inner text</div>
This div background color is #C7122F.
.myBorderColor { border: 1px solid #C7122F; }
<div style="border:3px solid #C7122F">Div</div>
This div border color is #C7122F.
.myOpacity80 { color: #C7122F; opacity: 0.8; }
<p style="color:#C7122F;opacity:0.8;">80%</p>
Text with #C7122F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7122F;}
<p style="text-shadow: 3px 3px 1px #C7122F">Text here.</p>
This text has shadow with #C7122F color.
.textShadow {text-shadow: 3px 3px 1px #C7122F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7122F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7122F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7122F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7122F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7122F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7122F; -webkit-box-shadow: 1px 1px 3px 2px #C7122F; box-shadow: 1px 1px 3px 2px #C7122F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7122F; -webkit-box-shadow: 1px 1px 3px 2px #C7122F; box-shadow:1px 1px 3px 2px #C7122F;">
Div content here</div>
This text has color #C7122F on black background.
This text has color #C7122F on white background.
This text has black color on #C7122F background.
This text has white color on #C7122F background.