HEX: #C6817E
RGB: (198,129,126)
#C6817E contains mainly red color. Web safe color of #C6817E is #CC9966 (or #C96).
#C6817E color RGB value is (198,129,126).
RGB: (198,129,126) (78%,51%,49%)
R 198 of 255 = 78%
G 129 of 255 = 51%
B 126 of 255 = 49%
R + G + B ~ 59%. #C6817E is middle color (not dark and not light).
R + G + B =
198 + 129 + 126 = 453 (100%)
R 198 of 453 ~ 43.71%
G 129 of 453 ~ 28.48%
B 126 of 453 ~ 27.81%
#C6817E color CMYK value is (0,35,36,22).
CMYK: (0,35,36,22) C0M35Y36K22 (0%,35%,36%,22%) (0.00/0.35/0.36/0.22)
C6 | 81 | 7E | |
---|---|---|---|
RGB | 198 | 129 | 126 |
HSL | 2° | 38.71% | 63.53% |
HSB/HSV | 2° | 36.36% | 77.65% |
CMYK | 0.00% | 34.85% | 36.36% |
22.35% |
HEX | C6 | 81 | 7E |
Decimal | 198 | 129 | 126 |
Binary | 11000110 | 10000001 | 1111110 |
Octal | 306 | 201 | 176 |
Examples of css and html codes for elements with #C6817E color. Also use rgb(198,129,126) instead hex code.
.myTextColor { color: #C6817E; }
<p style="color:#C6817E">This sample text font color is #C6817E.</p>
This text font color is #C6817E.
.myBgColor { background-color: #C6817E; }
<div style="background-color:#C6817E">Inner text</div>
This div background color is #C6817E.
.myBorderColor { border: 1px solid #C6817E; }
<div style="border:3px solid #C6817E">Div</div>
This div border color is #C6817E.
.myOpacity80 { color: #C6817E; opacity: 0.8; }
<p style="color:#C6817E;opacity:0.8;">80%</p>
Text with #C6817E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6817E;}
<p style="text-shadow: 3px 3px 1px #C6817E">Text here.</p>
This text has shadow with #C6817E color.
.textShadow {text-shadow: 3px 3px 1px #C6817E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6817E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6817E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6817E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6817E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6817E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6817E; -webkit-box-shadow: 1px 1px 3px 2px #C6817E; box-shadow: 1px 1px 3px 2px #C6817E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6817E; -webkit-box-shadow: 1px 1px 3px 2px #C6817E; box-shadow:1px 1px 3px 2px #C6817E;">
Div content here</div>
This text has color #C6817E on black background.
This text has color #C6817E on white background.
This text has black color on #C6817E background.
This text has white color on #C6817E background.