HEX: #C678BA
RGB: (198,120,186)
#C678BA contains mainly red and blue colors. Web safe color of #C678BA is #CC66CC (or #C6C).
#C678BA color RGB value is (198,120,186).
RGB: (198,120,186) (78%,47%,73%)
R 198 of 255 = 78%
G 120 of 255 = 47%
B 186 of 255 = 73%
R + G + B ~ 66%. #C678BA is quite light color.
R + G + B =
198 + 120 + 186 = 504 (100%)
R 198 of 504 ~ 39.29%
G 120 of 504 ~ 23.81%
B 186 of 504 ~ 36.9%
#C678BA color CMYK value is (0,39,6,22).
CMYK: (0,39,6,22) C0M39Y6K22 (0%,39%,6%,22%) (0.00/0.39/0.06/0.22)
C6 | 78 | BA | |
---|---|---|---|
RGB | 198 | 120 | 186 |
HSL | 309° | 40.63% | 62.35% |
HSB/HSV | 309° | 39.39% | 77.65% |
CMYK | 0.00% | 39.39% | 6.06% |
22.35% |
HEX | C6 | 78 | BA |
Decimal | 198 | 120 | 186 |
Binary | 11000110 | 1111000 | 10111010 |
Octal | 306 | 170 | 272 |
Examples of css and html codes for elements with #C678BA color. Also use rgb(198,120,186) instead hex code.
.myTextColor { color: #C678BA; }
<p style="color:#C678BA">This sample text font color is #C678BA.</p>
This text font color is #C678BA.
.myBgColor { background-color: #C678BA; }
<div style="background-color:#C678BA">Inner text</div>
This div background color is #C678BA.
.myBorderColor { border: 1px solid #C678BA; }
<div style="border:3px solid #C678BA">Div</div>
This div border color is #C678BA.
.myOpacity80 { color: #C678BA; opacity: 0.8; }
<p style="color:#C678BA;opacity:0.8;">80%</p>
Text with #C678BA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C678BA;}
<p style="text-shadow: 3px 3px 1px #C678BA">Text here.</p>
This text has shadow with #C678BA color.
.textShadow {text-shadow: 3px 3px 1px #C678BA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C678BA, 5px 5px 20px red">Text here.</p>
This text has shadow with #C678BA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C678BA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C678BA, Direction=45, Strength=4)">Text</p>
This text has shadow with #C678BA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C678BA; -webkit-box-shadow: 1px 1px 3px 2px #C678BA; box-shadow: 1px 1px 3px 2px #C678BA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C678BA; -webkit-box-shadow: 1px 1px 3px 2px #C678BA; box-shadow:1px 1px 3px 2px #C678BA;">
Div content here</div>
This text has color #C678BA on black background.
This text has color #C678BA on white background.
This text has black color on #C678BA background.
This text has white color on #C678BA background.