HEX: #C6668A
RGB: (198,102,138)
#C6668A contains mainly red color. Web safe color of #C6668A is #CC6699 (or #C69).
#C6668A color RGB value is (198,102,138).
RGB: (198,102,138) (78%,40%,54%)
R 198 of 255 = 78%
G 102 of 255 = 40%
B 138 of 255 = 54%
R + G + B ~ 57%. #C6668A is middle color (not dark and not light).
R + G + B =
198 + 102 + 138 = 438 (100%)
R 198 of 438 ~ 45.21%
G 102 of 438 ~ 23.29%
B 138 of 438 ~ 31.51%
#C6668A color CMYK value is (0,48,30,22).
CMYK: (0,48,30,22) C0M48Y30K22 (0%,48%,30%,22%) (0.00/0.48/0.30/0.22)
C6 | 66 | 8A | |
---|---|---|---|
RGB | 198 | 102 | 138 |
HSL | 338° | 45.71% | 58.82% |
HSB/HSV | 338° | 48.48% | 77.65% |
CMYK | 0.00% | 48.48% | 30.30% |
22.35% |
HEX | C6 | 66 | 8A |
Decimal | 198 | 102 | 138 |
Binary | 11000110 | 1100110 | 10001010 |
Octal | 306 | 146 | 212 |
Examples of css and html codes for elements with #C6668A color. Also use rgb(198,102,138) instead hex code.
.myTextColor { color: #C6668A; }
<p style="color:#C6668A">This sample text font color is #C6668A.</p>
This text font color is #C6668A.
.myBgColor { background-color: #C6668A; }
<div style="background-color:#C6668A">Inner text</div>
This div background color is #C6668A.
.myBorderColor { border: 1px solid #C6668A; }
<div style="border:3px solid #C6668A">Div</div>
This div border color is #C6668A.
.myOpacity80 { color: #C6668A; opacity: 0.8; }
<p style="color:#C6668A;opacity:0.8;">80%</p>
Text with #C6668A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6668A;}
<p style="text-shadow: 3px 3px 1px #C6668A">Text here.</p>
This text has shadow with #C6668A color.
.textShadow {text-shadow: 3px 3px 1px #C6668A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6668A, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6668A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6668A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6668A, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6668A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6668A; -webkit-box-shadow: 1px 1px 3px 2px #C6668A; box-shadow: 1px 1px 3px 2px #C6668A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6668A; -webkit-box-shadow: 1px 1px 3px 2px #C6668A; box-shadow:1px 1px 3px 2px #C6668A;">
Div content here</div>
This text has color #C6668A on black background.
This text has color #C6668A on white background.
This text has black color on #C6668A background.
This text has white color on #C6668A background.