HEX: #C4314F
RGB: (196,49,79)
#C4314F contains mainly red color. Web safe color of #C4314F is #CC3366 (or #C36).
#C4314F color RGB value is (196,49,79).
RGB: (196,49,79) (77%,19%,31%)
R 196 of 255 = 77%
G 49 of 255 = 19%
B 79 of 255 = 31%
R + G + B ~ 42%. #C4314F is middle color (not dark and not light).
R + G + B =
196 + 49 + 79 = 324 (100%)
R 196 of 324 ~ 60.49%
G 49 of 324 ~ 15.12%
B 79 of 324 ~ 24.38%
#C4314F color CMYK value is (0,75,60,23).
CMYK: (0,75,60,23) C0M75Y60K23 (0%,75%,60%,23%) (0.00/0.75/0.60/0.23)
C4 | 31 | 4F | |
---|---|---|---|
RGB | 196 | 49 | 79 |
HSL | 348° | 60.00% | 48.04% |
HSB/HSV | 348° | 75.00% | 76.86% |
CMYK | 0.00% | 75.00% | 59.69% |
23.14% |
HEX | C4 | 31 | 4F |
Decimal | 196 | 49 | 79 |
Binary | 11000100 | 110001 | 1001111 |
Octal | 304 | 61 | 117 |
Examples of css and html codes for elements with #C4314F color. Also use rgb(196,49,79) instead hex code.
.myTextColor { color: #C4314F; }
<p style="color:#C4314F">This sample text font color is #C4314F.</p>
This text font color is #C4314F.
.myBgColor { background-color: #C4314F; }
<div style="background-color:#C4314F">Inner text</div>
This div background color is #C4314F.
.myBorderColor { border: 1px solid #C4314F; }
<div style="border:3px solid #C4314F">Div</div>
This div border color is #C4314F.
.myOpacity80 { color: #C4314F; opacity: 0.8; }
<p style="color:#C4314F;opacity:0.8;">80%</p>
Text with #C4314F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4314F;}
<p style="text-shadow: 3px 3px 1px #C4314F">Text here.</p>
This text has shadow with #C4314F color.
.textShadow {text-shadow: 3px 3px 1px #C4314F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4314F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4314F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4314F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4314F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4314F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4314F; -webkit-box-shadow: 1px 1px 3px 2px #C4314F; box-shadow: 1px 1px 3px 2px #C4314F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4314F; -webkit-box-shadow: 1px 1px 3px 2px #C4314F; box-shadow:1px 1px 3px 2px #C4314F;">
Div content here</div>
This text has color #C4314F on black background.
This text has color #C4314F on white background.
This text has black color on #C4314F background.
This text has white color on #C4314F background.