HEX: #CC98FA
RGB: (204,152,250)
#CC98FA contains mainly red and blue colors. Web safe color of #CC98FA is #CC99FF (or #C9F).
#CC98FA color RGB value is (204,152,250).
RGB: (204,152,250) (80%,60%,98%)
R 204 of 255 = 80%
G 152 of 255 = 60%
B 250 of 255 = 98%
R + G + B ~ 79%. #CC98FA is quite light color.
R + G + B =
204 + 152 + 250 = 606 (100%)
R 204 of 606 ~ 33.66%
G 152 of 606 ~ 25.08%
B 250 of 606 ~ 41.25%
#CC98FA color CMYK value is (18,39,0,2).
CMYK: (18,39,0,2) C18M39Y0K2 (18%,39%,0%,2%) (0.18/0.39/0.00/0.02)
CC | 98 | FA | |
---|---|---|---|
RGB | 204 | 152 | 250 |
HSL | 272° | 90.74% | 78.82% |
HSB/HSV | 272° | 39.20% | 98.04% |
CMYK | 18.40% | 39.20% | 0.00% |
1.96% |
HEX | CC | 98 | FA |
Decimal | 204 | 152 | 250 |
Binary | 11001100 | 10011000 | 11111010 |
Octal | 314 | 230 | 372 |
Examples of css and html codes for elements with #CC98FA color. Also use rgb(204,152,250) instead hex code.
.myTextColor { color: #CC98FA; }
<p style="color:#CC98FA">This sample text font color is #CC98FA.</p>
This text font color is #CC98FA.
.myBgColor { background-color: #CC98FA; }
<div style="background-color:#CC98FA">Inner text</div>
This div background color is #CC98FA.
.myBorderColor { border: 1px solid #CC98FA; }
<div style="border:3px solid #CC98FA">Div</div>
This div border color is #CC98FA.
.myOpacity80 { color: #CC98FA; opacity: 0.8; }
<p style="color:#CC98FA;opacity:0.8;">80%</p>
Text with #CC98FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC98FA;}
<p style="text-shadow: 3px 3px 1px #CC98FA">Text here.</p>
This text has shadow with #CC98FA color.
.textShadow {text-shadow: 3px 3px 1px #CC98FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC98FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC98FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC98FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC98FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC98FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC98FA; -webkit-box-shadow: 1px 1px 3px 2px #CC98FA; box-shadow: 1px 1px 3px 2px #CC98FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC98FA; -webkit-box-shadow: 1px 1px 3px 2px #CC98FA; box-shadow:1px 1px 3px 2px #CC98FA;">
Div content here</div>
This text has color #CC98FA on black background.
This text has color #CC98FA on white background.
This text has black color on #CC98FA background.
This text has white color on #CC98FA background.