HEX: #CC5F8F
RGB: (204,95,143)
#CC5F8F contains mainly red color. Web safe color of #CC5F8F is #CC6699 (or #C69).
#CC5F8F color RGB value is (204,95,143).
RGB: (204,95,143) (80%,37%,56%)
R 204 of 255 = 80%
G 95 of 255 = 37%
B 143 of 255 = 56%
R + G + B ~ 58%. #CC5F8F is middle color (not dark and not light).
R + G + B =
204 + 95 + 143 = 442 (100%)
R 204 of 442 ~ 46.15%
G 95 of 442 ~ 21.49%
B 143 of 442 ~ 32.35%
#CC5F8F color CMYK value is (0,53,30,20).
CMYK: (0,53,30,20) C0M53Y30K20 (0%,53%,30%,20%) (0.00/0.53/0.30/0.20)
CC | 5F | 8F | |
---|---|---|---|
RGB | 204 | 95 | 143 |
HSL | 334° | 51.66% | 58.63% |
HSB/HSV | 334° | 53.43% | 80.00% |
CMYK | 0.00% | 53.43% | 29.90% |
20.00% |
HEX | CC | 5F | 8F |
Decimal | 204 | 95 | 143 |
Binary | 11001100 | 1011111 | 10001111 |
Octal | 314 | 137 | 217 |
Examples of css and html codes for elements with #CC5F8F color. Also use rgb(204,95,143) instead hex code.
.myTextColor { color: #CC5F8F; }
<p style="color:#CC5F8F">This sample text font color is #CC5F8F.</p>
This text font color is #CC5F8F.
.myBgColor { background-color: #CC5F8F; }
<div style="background-color:#CC5F8F">Inner text</div>
This div background color is #CC5F8F.
.myBorderColor { border: 1px solid #CC5F8F; }
<div style="border:3px solid #CC5F8F">Div</div>
This div border color is #CC5F8F.
.myOpacity80 { color: #CC5F8F; opacity: 0.8; }
<p style="color:#CC5F8F;opacity:0.8;">80%</p>
Text with #CC5F8F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC5F8F;}
<p style="text-shadow: 3px 3px 1px #CC5F8F">Text here.</p>
This text has shadow with #CC5F8F color.
.textShadow {text-shadow: 3px 3px 1px #CC5F8F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC5F8F, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC5F8F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC5F8F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC5F8F, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC5F8F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC5F8F; -webkit-box-shadow: 1px 1px 3px 2px #CC5F8F; box-shadow: 1px 1px 3px 2px #CC5F8F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC5F8F; -webkit-box-shadow: 1px 1px 3px 2px #CC5F8F; box-shadow:1px 1px 3px 2px #CC5F8F;">
Div content here</div>
This text has color #CC5F8F on black background.
This text has color #CC5F8F on white background.
This text has black color on #CC5F8F background.
This text has white color on #CC5F8F background.