HEX: #C98CEE
RGB: (201,140,238)
#C98CEE contains mainly red and blue colors. Web safe color of #C98CEE is #CC99FF (or #C9F).
#C98CEE color RGB value is (201,140,238).
RGB: (201,140,238) (79%,55%,93%)
R 201 of 255 = 79%
G 140 of 255 = 55%
B 238 of 255 = 93%
R + G + B ~ 76%. #C98CEE is quite light color.
R + G + B =
201 + 140 + 238 = 579 (100%)
R 201 of 579 ~ 34.72%
G 140 of 579 ~ 24.18%
B 238 of 579 ~ 41.11%
#C98CEE color CMYK value is (16,41,0,7).
CMYK: (16,41,0,7) C16M41Y0K7 (16%,41%,0%,7%) (0.16/0.41/0.00/0.07)
C9 | 8C | EE | |
---|---|---|---|
RGB | 201 | 140 | 238 |
HSL | 277° | 74.24% | 74.12% |
HSB/HSV | 277° | 41.18% | 93.33% |
CMYK | 15.55% | 41.18% | 0.00% |
6.67% |
HEX | C9 | 8C | EE |
Decimal | 201 | 140 | 238 |
Binary | 11001001 | 10001100 | 11101110 |
Octal | 311 | 214 | 356 |
Examples of css and html codes for elements with #C98CEE color. Also use rgb(201,140,238) instead hex code.
.myTextColor { color: #C98CEE; }
<p style="color:#C98CEE">This sample text font color is #C98CEE.</p>
This text font color is #C98CEE.
.myBgColor { background-color: #C98CEE; }
<div style="background-color:#C98CEE">Inner text</div>
This div background color is #C98CEE.
.myBorderColor { border: 1px solid #C98CEE; }
<div style="border:3px solid #C98CEE">Div</div>
This div border color is #C98CEE.
.myOpacity80 { color: #C98CEE; opacity: 0.8; }
<p style="color:#C98CEE;opacity:0.8;">80%</p>
Text with #C98CEE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C98CEE;}
<p style="text-shadow: 3px 3px 1px #C98CEE">Text here.</p>
This text has shadow with #C98CEE color.
.textShadow {text-shadow: 3px 3px 1px #C98CEE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C98CEE, 5px 5px 20px red">Text here.</p>
This text has shadow with #C98CEE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C98CEE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C98CEE, Direction=45, Strength=4)">Text</p>
This text has shadow with #C98CEE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C98CEE; -webkit-box-shadow: 1px 1px 3px 2px #C98CEE; box-shadow: 1px 1px 3px 2px #C98CEE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C98CEE; -webkit-box-shadow: 1px 1px 3px 2px #C98CEE; box-shadow:1px 1px 3px 2px #C98CEE;">
Div content here</div>
This text has color #C98CEE on black background.
This text has color #C98CEE on white background.
This text has black color on #C98CEE background.
This text has white color on #C98CEE background.