HEX: #C78EDB
RGB: (199,142,219)
#C78EDB contains mainly red and blue colors. Web safe color of #C78EDB is #CC99CC (or #C9C).
#C78EDB color RGB value is (199,142,219).
RGB: (199,142,219) (78%,56%,86%)
R 199 of 255 = 78%
G 142 of 255 = 56%
B 219 of 255 = 86%
R + G + B ~ 73%. #C78EDB is quite light color.
R + G + B =
199 + 142 + 219 = 560 (100%)
R 199 of 560 ~ 35.54%
G 142 of 560 ~ 25.36%
B 219 of 560 ~ 39.11%
#C78EDB color CMYK value is (9,35,0,14).
CMYK: (9,35,0,14) C9M35Y0K14 (9%,35%,0%,14%) (0.09/0.35/0.00/0.14)
C7 | 8E | DB | |
---|---|---|---|
RGB | 199 | 142 | 219 |
HSL | 284° | 51.68% | 70.78% |
HSB/HSV | 284° | 35.16% | 85.88% |
CMYK | 9.13% | 35.16% | 0.00% |
14.12% |
HEX | C7 | 8E | DB |
Decimal | 199 | 142 | 219 |
Binary | 11000111 | 10001110 | 11011011 |
Octal | 307 | 216 | 333 |
Examples of css and html codes for elements with #C78EDB color. Also use rgb(199,142,219) instead hex code.
.myTextColor { color: #C78EDB; }
<p style="color:#C78EDB">This sample text font color is #C78EDB.</p>
This text font color is #C78EDB.
.myBgColor { background-color: #C78EDB; }
<div style="background-color:#C78EDB">Inner text</div>
This div background color is #C78EDB.
.myBorderColor { border: 1px solid #C78EDB; }
<div style="border:3px solid #C78EDB">Div</div>
This div border color is #C78EDB.
.myOpacity80 { color: #C78EDB; opacity: 0.8; }
<p style="color:#C78EDB;opacity:0.8;">80%</p>
Text with #C78EDB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C78EDB;}
<p style="text-shadow: 3px 3px 1px #C78EDB">Text here.</p>
This text has shadow with #C78EDB color.
.textShadow {text-shadow: 3px 3px 1px #C78EDB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C78EDB, 5px 5px 20px red">Text here.</p>
This text has shadow with #C78EDB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C78EDB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C78EDB, Direction=45, Strength=4)">Text</p>
This text has shadow with #C78EDB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C78EDB; -webkit-box-shadow: 1px 1px 3px 2px #C78EDB; box-shadow: 1px 1px 3px 2px #C78EDB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C78EDB; -webkit-box-shadow: 1px 1px 3px 2px #C78EDB; box-shadow:1px 1px 3px 2px #C78EDB;">
Div content here</div>
This text has color #C78EDB on black background.
This text has color #C78EDB on white background.
This text has black color on #C78EDB background.
This text has white color on #C78EDB background.