HEX: #C46C7E
RGB: (196,108,126)
#C46C7E contains mainly red color. Web safe color of #C46C7E is #CC6666 (or #C66).
#C46C7E color RGB value is (196,108,126).
RGB: (196,108,126) (77%,42%,49%)
R 196 of 255 = 77%
G 108 of 255 = 42%
B 126 of 255 = 49%
R + G + B ~ 56%. #C46C7E is middle color (not dark and not light).
R + G + B =
196 + 108 + 126 = 430 (100%)
R 196 of 430 ~ 45.58%
G 108 of 430 ~ 25.12%
B 126 of 430 ~ 29.3%
#C46C7E color CMYK value is (0,45,36,23).
CMYK: (0,45,36,23) C0M45Y36K23 (0%,45%,36%,23%) (0.00/0.45/0.36/0.23)
C4 | 6C | 7E | |
---|---|---|---|
RGB | 196 | 108 | 126 |
HSL | 348° | 42.72% | 59.61% |
HSB/HSV | 348° | 44.90% | 76.86% |
CMYK | 0.00% | 44.90% | 35.71% |
23.14% |
HEX | C4 | 6C | 7E |
Decimal | 196 | 108 | 126 |
Binary | 11000100 | 1101100 | 1111110 |
Octal | 304 | 154 | 176 |
Examples of css and html codes for elements with #C46C7E color. Also use rgb(196,108,126) instead hex code.
.myTextColor { color: #C46C7E; }
<p style="color:#C46C7E">This sample text font color is #C46C7E.</p>
This text font color is #C46C7E.
.myBgColor { background-color: #C46C7E; }
<div style="background-color:#C46C7E">Inner text</div>
This div background color is #C46C7E.
.myBorderColor { border: 1px solid #C46C7E; }
<div style="border:3px solid #C46C7E">Div</div>
This div border color is #C46C7E.
.myOpacity80 { color: #C46C7E; opacity: 0.8; }
<p style="color:#C46C7E;opacity:0.8;">80%</p>
Text with #C46C7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C46C7E;}
<p style="text-shadow: 3px 3px 1px #C46C7E">Text here.</p>
This text has shadow with #C46C7E color.
.textShadow {text-shadow: 3px 3px 1px #C46C7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C46C7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C46C7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C46C7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C46C7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C46C7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C46C7E; -webkit-box-shadow: 1px 1px 3px 2px #C46C7E; box-shadow: 1px 1px 3px 2px #C46C7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C46C7E; -webkit-box-shadow: 1px 1px 3px 2px #C46C7E; box-shadow:1px 1px 3px 2px #C46C7E;">
Div content here</div>
This text has color #C46C7E on black background.
This text has color #C46C7E on white background.
This text has black color on #C46C7E background.
This text has white color on #C46C7E background.