HEX: #C6788C
RGB: (198,120,140)
#C6788C contains mainly red and blue colors. Web safe color of #C6788C is #CC6699 (or #C69).
#C6788C color RGB value is (198,120,140).
RGB: (198,120,140) (78%,47%,55%)
R 198 of 255 = 78%
G 120 of 255 = 47%
B 140 of 255 = 55%
R + G + B ~ 60%. #C6788C is middle color (not dark and not light).
R + G + B =
198 + 120 + 140 = 458 (100%)
R 198 of 458 ~ 43.23%
G 120 of 458 ~ 26.2%
B 140 of 458 ~ 30.57%
#C6788C color CMYK value is (0,39,29,22).
CMYK: (0,39,29,22) C0M39Y29K22 (0%,39%,29%,22%) (0.00/0.39/0.29/0.22)
C6 | 78 | 8C | |
---|---|---|---|
RGB | 198 | 120 | 140 |
HSL | 345° | 40.63% | 62.35% |
HSB/HSV | 345° | 39.39% | 77.65% |
CMYK | 0.00% | 39.39% | 29.29% |
22.35% |
HEX | C6 | 78 | 8C |
Decimal | 198 | 120 | 140 |
Binary | 11000110 | 1111000 | 10001100 |
Octal | 306 | 170 | 214 |
Examples of css and html codes for elements with #C6788C color. Also use rgb(198,120,140) instead hex code.
.myTextColor { color: #C6788C; }
<p style="color:#C6788C">This sample text font color is #C6788C.</p>
This text font color is #C6788C.
.myBgColor { background-color: #C6788C; }
<div style="background-color:#C6788C">Inner text</div>
This div background color is #C6788C.
.myBorderColor { border: 1px solid #C6788C; }
<div style="border:3px solid #C6788C">Div</div>
This div border color is #C6788C.
.myOpacity80 { color: #C6788C; opacity: 0.8; }
<p style="color:#C6788C;opacity:0.8;">80%</p>
Text with #C6788C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6788C;}
<p style="text-shadow: 3px 3px 1px #C6788C">Text here.</p>
This text has shadow with #C6788C color.
.textShadow {text-shadow: 3px 3px 1px #C6788C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6788C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6788C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6788C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6788C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6788C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6788C; -webkit-box-shadow: 1px 1px 3px 2px #C6788C; box-shadow: 1px 1px 3px 2px #C6788C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6788C; -webkit-box-shadow: 1px 1px 3px 2px #C6788C; box-shadow:1px 1px 3px 2px #C6788C;">
Div content here</div>
This text has color #C6788C on black background.
This text has color #C6788C on white background.
This text has black color on #C6788C background.
This text has white color on #C6788C background.