HEX: #CC98EF
RGB: (204,152,239)
#CC98EF contains mainly red and blue colors. Web safe color of #CC98EF is #CC99FF (or #C9F).
#CC98EF color RGB value is (204,152,239).
RGB: (204,152,239) (80%,60%,94%)
R 204 of 255 = 80%
G 152 of 255 = 60%
B 239 of 255 = 94%
R + G + B ~ 78%. #CC98EF is quite light color.
R + G + B =
204 + 152 + 239 = 595 (100%)
R 204 of 595 ~ 34.29%
G 152 of 595 ~ 25.55%
B 239 of 595 ~ 40.17%
#CC98EF color CMYK value is (15,36,0,6).
CMYK: (15,36,0,6) C15M36Y0K6 (15%,36%,0%,6%) (0.15/0.36/0.00/0.06)
CC | 98 | EF | |
---|---|---|---|
RGB | 204 | 152 | 239 |
HSL | 276° | 73.11% | 76.67% |
HSB/HSV | 276° | 36.40% | 93.73% |
CMYK | 14.64% | 36.40% | 0.00% |
6.27% |
HEX | CC | 98 | EF |
Decimal | 204 | 152 | 239 |
Binary | 11001100 | 10011000 | 11101111 |
Octal | 314 | 230 | 357 |
Examples of css and html codes for elements with #CC98EF color. Also use rgb(204,152,239) instead hex code.
.myTextColor { color: #CC98EF; }
<p style="color:#CC98EF">This sample text font color is #CC98EF.</p>
This text font color is #CC98EF.
.myBgColor { background-color: #CC98EF; }
<div style="background-color:#CC98EF">Inner text</div>
This div background color is #CC98EF.
.myBorderColor { border: 1px solid #CC98EF; }
<div style="border:3px solid #CC98EF">Div</div>
This div border color is #CC98EF.
.myOpacity80 { color: #CC98EF; opacity: 0.8; }
<p style="color:#CC98EF;opacity:0.8;">80%</p>
Text with #CC98EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC98EF;}
<p style="text-shadow: 3px 3px 1px #CC98EF">Text here.</p>
This text has shadow with #CC98EF color.
.textShadow {text-shadow: 3px 3px 1px #CC98EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC98EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC98EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC98EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC98EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC98EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC98EF; -webkit-box-shadow: 1px 1px 3px 2px #CC98EF; box-shadow: 1px 1px 3px 2px #CC98EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC98EF; -webkit-box-shadow: 1px 1px 3px 2px #CC98EF; box-shadow:1px 1px 3px 2px #CC98EF;">
Div content here</div>
This text has color #CC98EF on black background.
This text has color #CC98EF on white background.
This text has black color on #CC98EF background.
This text has white color on #CC98EF background.