HEX: #C31D12
RGB: (195,29,18)
#C31D12 contains mainly red color. Web safe color of #C31D12 is #CC3300 (or #C30).
#C31D12 color RGB value is (195,29,18).
RGB: (195,29,18) (76%,11%,7%)
R 195 of 255 = 76%
G 29 of 255 = 11%
B 18 of 255 = 7%
R + G + B ~ 31%. #C31D12 is quite dark color.
R + G + B =
195 + 29 + 18 = 242 (100%)
R 195 of 242 ~ 80.58%
G 29 of 242 ~ 11.98%
B 18 of 242 ~ 7.44%
#C31D12 color CMYK value is (0,85,91,24).
CMYK: (0,85,91,24) C0M85Y91K24 (0%,85%,91%,24%) (0.00/0.85/0.91/0.24)
C3 | 1D | 12 | |
---|---|---|---|
RGB | 195 | 29 | 18 |
HSL | 4° | 83.10% | 41.76% |
HSB/HSV | 4° | 90.77% | 76.47% |
CMYK | 0.00% | 85.13% | 90.77% |
23.53% |
HEX | C3 | 1D | 12 |
Decimal | 195 | 29 | 18 |
Binary | 11000011 | 11101 | 10010 |
Octal | 303 | 35 | 22 |
Examples of css and html codes for elements with #C31D12 color. Also use rgb(195,29,18) instead hex code.
.myTextColor { color: #C31D12; }
<p style="color:#C31D12">This sample text font color is #C31D12.</p>
This text font color is #C31D12.
.myBgColor { background-color: #C31D12; }
<div style="background-color:#C31D12">Inner text</div>
This div background color is #C31D12.
.myBorderColor { border: 1px solid #C31D12; }
<div style="border:3px solid #C31D12">Div</div>
This div border color is #C31D12.
.myOpacity80 { color: #C31D12; opacity: 0.8; }
<p style="color:#C31D12;opacity:0.8;">80%</p>
Text with #C31D12 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C31D12;}
<p style="text-shadow: 3px 3px 1px #C31D12">Text here.</p>
This text has shadow with #C31D12 color.
.textShadow {text-shadow: 3px 3px 1px #C31D12, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C31D12, 5px 5px 20px red">Text here.</p>
This text has shadow with #C31D12 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C31D12, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C31D12, Direction=45, Strength=4)">Text</p>
This text has shadow with #C31D12 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C31D12; -webkit-box-shadow: 1px 1px 3px 2px #C31D12; box-shadow: 1px 1px 3px 2px #C31D12; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C31D12; -webkit-box-shadow: 1px 1px 3px 2px #C31D12; box-shadow:1px 1px 3px 2px #C31D12;">
Div content here</div>
This text has color #C31D12 on black background.
This text has color #C31D12 on white background.
This text has black color on #C31D12 background.
This text has white color on #C31D12 background.