HEX: #CC5FA6
RGB: (204,95,166)
#CC5FA6 contains mainly red and blue colors. Web safe color of #CC5FA6 is #CC6699 (or #C69).
#CC5FA6 color RGB value is (204,95,166).
RGB: (204,95,166) (80%,37%,65%)
R 204 of 255 = 80%
G 95 of 255 = 37%
B 166 of 255 = 65%
R + G + B ~ 61%. #CC5FA6 is quite light color.
R + G + B =
204 + 95 + 166 = 465 (100%)
R 204 of 465 ~ 43.87%
G 95 of 465 ~ 20.43%
B 166 of 465 ~ 35.7%
#CC5FA6 color CMYK value is (0,53,19,20).
CMYK: (0,53,19,20) C0M53Y19K20 (0%,53%,19%,20%) (0.00/0.53/0.19/0.20)
CC | 5F | A6 | |
---|---|---|---|
RGB | 204 | 95 | 166 |
HSL | 321° | 51.66% | 58.63% |
HSB/HSV | 321° | 53.43% | 80.00% |
CMYK | 0.00% | 53.43% | 18.63% |
20.00% |
HEX | CC | 5F | A6 |
Decimal | 204 | 95 | 166 |
Binary | 11001100 | 1011111 | 10100110 |
Octal | 314 | 137 | 246 |
Examples of css and html codes for elements with #CC5FA6 color. Also use rgb(204,95,166) instead hex code.
.myTextColor { color: #CC5FA6; }
<p style="color:#CC5FA6">This sample text font color is #CC5FA6.</p>
This text font color is #CC5FA6.
.myBgColor { background-color: #CC5FA6; }
<div style="background-color:#CC5FA6">Inner text</div>
This div background color is #CC5FA6.
.myBorderColor { border: 1px solid #CC5FA6; }
<div style="border:3px solid #CC5FA6">Div</div>
This div border color is #CC5FA6.
.myOpacity80 { color: #CC5FA6; opacity: 0.8; }
<p style="color:#CC5FA6;opacity:0.8;">80%</p>
Text with #CC5FA6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC5FA6;}
<p style="text-shadow: 3px 3px 1px #CC5FA6">Text here.</p>
This text has shadow with #CC5FA6 color.
.textShadow {text-shadow: 3px 3px 1px #CC5FA6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC5FA6, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC5FA6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC5FA6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC5FA6, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC5FA6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC5FA6; -webkit-box-shadow: 1px 1px 3px 2px #CC5FA6; box-shadow: 1px 1px 3px 2px #CC5FA6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC5FA6; -webkit-box-shadow: 1px 1px 3px 2px #CC5FA6; box-shadow:1px 1px 3px 2px #CC5FA6;">
Div content here</div>
This text has color #CC5FA6 on black background.
This text has color #CC5FA6 on white background.
This text has black color on #CC5FA6 background.
This text has white color on #CC5FA6 background.