HEX: #C798EE
RGB: (199,152,238)
#C798EE contains mainly red and blue colors. Web safe color of #C798EE is #CC99FF (or #C9F).
#C798EE color RGB value is (199,152,238).
RGB: (199,152,238) (78%,60%,93%)
R 199 of 255 = 78%
G 152 of 255 = 60%
B 238 of 255 = 93%
R + G + B ~ 77%. #C798EE is quite light color.
R + G + B =
199 + 152 + 238 = 589 (100%)
R 199 of 589 ~ 33.79%
G 152 of 589 ~ 25.81%
B 238 of 589 ~ 40.41%
#C798EE color CMYK value is (16,36,0,7).
CMYK: (16,36,0,7) C16M36Y0K7 (16%,36%,0%,7%) (0.16/0.36/0.00/0.07)
C7 | 98 | EE | |
---|---|---|---|
RGB | 199 | 152 | 238 |
HSL | 273° | 71.67% | 76.47% |
HSB/HSV | 273° | 36.13% | 93.33% |
CMYK | 16.39% | 36.13% | 0.00% |
6.67% |
HEX | C7 | 98 | EE |
Decimal | 199 | 152 | 238 |
Binary | 11000111 | 10011000 | 11101110 |
Octal | 307 | 230 | 356 |
Examples of css and html codes for elements with #C798EE color. Also use rgb(199,152,238) instead hex code.
.myTextColor { color: #C798EE; }
<p style="color:#C798EE">This sample text font color is #C798EE.</p>
This text font color is #C798EE.
.myBgColor { background-color: #C798EE; }
<div style="background-color:#C798EE">Inner text</div>
This div background color is #C798EE.
.myBorderColor { border: 1px solid #C798EE; }
<div style="border:3px solid #C798EE">Div</div>
This div border color is #C798EE.
.myOpacity80 { color: #C798EE; opacity: 0.8; }
<p style="color:#C798EE;opacity:0.8;">80%</p>
Text with #C798EE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C798EE;}
<p style="text-shadow: 3px 3px 1px #C798EE">Text here.</p>
This text has shadow with #C798EE color.
.textShadow {text-shadow: 3px 3px 1px #C798EE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C798EE, 5px 5px 20px red">Text here.</p>
This text has shadow with #C798EE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C798EE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C798EE, Direction=45, Strength=4)">Text</p>
This text has shadow with #C798EE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C798EE; -webkit-box-shadow: 1px 1px 3px 2px #C798EE; box-shadow: 1px 1px 3px 2px #C798EE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C798EE; -webkit-box-shadow: 1px 1px 3px 2px #C798EE; box-shadow:1px 1px 3px 2px #C798EE;">
Div content here</div>
This text has color #C798EE on black background.
This text has color #C798EE on white background.
This text has black color on #C798EE background.
This text has white color on #C798EE background.