HEX: #C31F07
RGB: (195,31,7)
#C31F07 contains mainly red color. Web safe color of #C31F07 is #CC3300 (or #C30).
#C31F07 color RGB value is (195,31,7).
RGB: (195,31,7) (76%,12%,3%)
R 195 of 255 = 76%
G 31 of 255 = 12%
B 7 of 255 = 3%
R + G + B ~ 30%. #C31F07 is quite dark color.
R + G + B =
195 + 31 + 7 = 233 (100%)
R 195 of 233 ~ 83.69%
G 31 of 233 ~ 13.3%
B 7 of 233 ~ 3%
#C31F07 color CMYK value is (0,84,96,24).
CMYK: (0,84,96,24) C0M84Y96K24 (0%,84%,96%,24%) (0.00/0.84/0.96/0.24)
C3 | 1F | 07 | |
---|---|---|---|
RGB | 195 | 31 | 7 |
HSL | 8° | 93.07% | 39.61% |
HSB/HSV | 8° | 96.41% | 76.47% |
CMYK | 0.00% | 84.10% | 96.41% |
23.53% |
HEX | C3 | 1F | 07 |
Decimal | 195 | 31 | 7 |
Binary | 11000011 | 11111 | 111 |
Octal | 303 | 37 | 7 |
Examples of css and html codes for elements with #C31F07 color. Also use rgb(195,31,7) instead hex code.
.myTextColor { color: #C31F07; }
<p style="color:#C31F07">This sample text font color is #C31F07.</p>
This text font color is #C31F07.
.myBgColor { background-color: #C31F07; }
<div style="background-color:#C31F07">Inner text</div>
This div background color is #C31F07.
.myBorderColor { border: 1px solid #C31F07; }
<div style="border:3px solid #C31F07">Div</div>
This div border color is #C31F07.
.myOpacity80 { color: #C31F07; opacity: 0.8; }
<p style="color:#C31F07;opacity:0.8;">80%</p>
Text with #C31F07 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C31F07;}
<p style="text-shadow: 3px 3px 1px #C31F07">Text here.</p>
This text has shadow with #C31F07 color.
.textShadow {text-shadow: 3px 3px 1px #C31F07, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C31F07, 5px 5px 20px red">Text here.</p>
This text has shadow with #C31F07 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C31F07, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C31F07, Direction=45, Strength=4)">Text</p>
This text has shadow with #C31F07 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C31F07; -webkit-box-shadow: 1px 1px 3px 2px #C31F07; box-shadow: 1px 1px 3px 2px #C31F07; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C31F07; -webkit-box-shadow: 1px 1px 3px 2px #C31F07; box-shadow:1px 1px 3px 2px #C31F07;">
Div content here</div>
This text has color #C31F07 on black background.
This text has color #C31F07 on white background.
This text has black color on #C31F07 background.
This text has white color on #C31F07 background.