HEX: #CC98E7
RGB: (204,152,231)
#CC98E7 contains mainly red and blue colors. Web safe color of #CC98E7 is #CC99FF (or #C9F).
#CC98E7 color RGB value is (204,152,231).
RGB: (204,152,231) (80%,60%,91%)
R 204 of 255 = 80%
G 152 of 255 = 60%
B 231 of 255 = 91%
R + G + B ~ 77%. #CC98E7 is quite light color.
R + G + B =
204 + 152 + 231 = 587 (100%)
R 204 of 587 ~ 34.75%
G 152 of 587 ~ 25.89%
B 231 of 587 ~ 39.35%
#CC98E7 color CMYK value is (12,34,0,9).
CMYK: (12,34,0,9) C12M34Y0K9 (12%,34%,0%,9%) (0.12/0.34/0.00/0.09)
CC | 98 | E7 | |
---|---|---|---|
RGB | 204 | 152 | 231 |
HSL | 279° | 62.20% | 75.10% |
HSB/HSV | 279° | 34.20% | 90.59% |
CMYK | 11.69% | 34.20% | 0.00% |
9.41% |
HEX | CC | 98 | E7 |
Decimal | 204 | 152 | 231 |
Binary | 11001100 | 10011000 | 11100111 |
Octal | 314 | 230 | 347 |
Examples of css and html codes for elements with #CC98E7 color. Also use rgb(204,152,231) instead hex code.
.myTextColor { color: #CC98E7; }
<p style="color:#CC98E7">This sample text font color is #CC98E7.</p>
This text font color is #CC98E7.
.myBgColor { background-color: #CC98E7; }
<div style="background-color:#CC98E7">Inner text</div>
This div background color is #CC98E7.
.myBorderColor { border: 1px solid #CC98E7; }
<div style="border:3px solid #CC98E7">Div</div>
This div border color is #CC98E7.
.myOpacity80 { color: #CC98E7; opacity: 0.8; }
<p style="color:#CC98E7;opacity:0.8;">80%</p>
Text with #CC98E7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC98E7;}
<p style="text-shadow: 3px 3px 1px #CC98E7">Text here.</p>
This text has shadow with #CC98E7 color.
.textShadow {text-shadow: 3px 3px 1px #CC98E7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC98E7, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC98E7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC98E7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC98E7, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC98E7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC98E7; -webkit-box-shadow: 1px 1px 3px 2px #CC98E7; box-shadow: 1px 1px 3px 2px #CC98E7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC98E7; -webkit-box-shadow: 1px 1px 3px 2px #CC98E7; box-shadow:1px 1px 3px 2px #CC98E7;">
Div content here</div>
This text has color #CC98E7 on black background.
This text has color #CC98E7 on white background.
This text has black color on #CC98E7 background.
This text has white color on #CC98E7 background.