HEX: #CC9FD5
RGB: (204,159,213)
#CC9FD5 contains red, green and blue colors in about the same proportion. Web safe color of #CC9FD5 is #CC99CC (or #C9C).
#CC9FD5 color RGB value is (204,159,213).
RGB: (204,159,213) (80%,62%,84%)
R 204 of 255 = 80%
G 159 of 255 = 62%
B 213 of 255 = 84%
R + G + B ~ 75%. #CC9FD5 is quite light color.
R + G + B =
204 + 159 + 213 = 576 (100%)
R 204 of 576 ~ 35.42%
G 159 of 576 ~ 27.6%
B 213 of 576 ~ 36.98%
#CC9FD5 color CMYK value is (4,25,0,16).
CMYK: (4,25,0,16) C4M25Y0K16 (4%,25%,0%,16%) (0.04/0.25/0.00/0.16)
CC | 9F | D5 | |
---|---|---|---|
RGB | 204 | 159 | 213 |
HSL | 290° | 39.13% | 72.94% |
HSB/HSV | 290° | 25.35% | 83.53% |
CMYK | 4.23% | 25.35% | 0.00% |
16.47% |
HEX | CC | 9F | D5 |
Decimal | 204 | 159 | 213 |
Binary | 11001100 | 10011111 | 11010101 |
Octal | 314 | 237 | 325 |
Examples of css and html codes for elements with #CC9FD5 color. Also use rgb(204,159,213) instead hex code.
.myTextColor { color: #CC9FD5; }
<p style="color:#CC9FD5">This sample text font color is #CC9FD5.</p>
This text font color is #CC9FD5.
.myBgColor { background-color: #CC9FD5; }
<div style="background-color:#CC9FD5">Inner text</div>
This div background color is #CC9FD5.
.myBorderColor { border: 1px solid #CC9FD5; }
<div style="border:3px solid #CC9FD5">Div</div>
This div border color is #CC9FD5.
.myOpacity80 { color: #CC9FD5; opacity: 0.8; }
<p style="color:#CC9FD5;opacity:0.8;">80%</p>
Text with #CC9FD5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC9FD5;}
<p style="text-shadow: 3px 3px 1px #CC9FD5">Text here.</p>
This text has shadow with #CC9FD5 color.
.textShadow {text-shadow: 3px 3px 1px #CC9FD5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC9FD5, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC9FD5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC9FD5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC9FD5, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC9FD5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC9FD5; -webkit-box-shadow: 1px 1px 3px 2px #CC9FD5; box-shadow: 1px 1px 3px 2px #CC9FD5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC9FD5; -webkit-box-shadow: 1px 1px 3px 2px #CC9FD5; box-shadow:1px 1px 3px 2px #CC9FD5;">
Div content here</div>
This text has color #CC9FD5 on black background.
This text has color #CC9FD5 on white background.
This text has black color on #CC9FD5 background.
This text has white color on #CC9FD5 background.