HEX: #CC8980
RGB: (204,137,128)
#CC8980 contains mainly red color. Web safe color of #CC8980 is #CC9966 (or #C96).
#CC8980 color RGB value is (204,137,128).
RGB: (204,137,128) (80%,54%,50%)
R 204 of 255 = 80%
G 137 of 255 = 54%
B 128 of 255 = 50%
R + G + B ~ 61%. #CC8980 is quite light color.
R + G + B =
204 + 137 + 128 = 469 (100%)
R 204 of 469 ~ 43.5%
G 137 of 469 ~ 29.21%
B 128 of 469 ~ 27.29%
#CC8980 color CMYK value is (0,33,37,20).
CMYK: (0,33,37,20) C0M33Y37K20 (0%,33%,37%,20%) (0.00/0.33/0.37/0.20)
CC | 89 | 80 | |
---|---|---|---|
RGB | 204 | 137 | 128 |
HSL | 7° | 42.70% | 65.10% |
HSB/HSV | 7° | 37.25% | 80.00% |
CMYK | 0.00% | 32.84% | 37.25% |
20.00% |
HEX | CC | 89 | 80 |
Decimal | 204 | 137 | 128 |
Binary | 11001100 | 10001001 | 10000000 |
Octal | 314 | 211 | 200 |
Examples of css and html codes for elements with #CC8980 color. Also use rgb(204,137,128) instead hex code.
.myTextColor { color: #CC8980; }
<p style="color:#CC8980">This sample text font color is #CC8980.</p>
This text font color is #CC8980.
.myBgColor { background-color: #CC8980; }
<div style="background-color:#CC8980">Inner text</div>
This div background color is #CC8980.
.myBorderColor { border: 1px solid #CC8980; }
<div style="border:3px solid #CC8980">Div</div>
This div border color is #CC8980.
.myOpacity80 { color: #CC8980; opacity: 0.8; }
<p style="color:#CC8980;opacity:0.8;">80%</p>
Text with #CC8980 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC8980;}
<p style="text-shadow: 3px 3px 1px #CC8980">Text here.</p>
This text has shadow with #CC8980 color.
.textShadow {text-shadow: 3px 3px 1px #CC8980, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC8980, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC8980 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC8980, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC8980, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC8980 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC8980; -webkit-box-shadow: 1px 1px 3px 2px #CC8980; box-shadow: 1px 1px 3px 2px #CC8980; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC8980; -webkit-box-shadow: 1px 1px 3px 2px #CC8980; box-shadow:1px 1px 3px 2px #CC8980;">
Div content here</div>
This text has color #CC8980 on black background.
This text has color #CC8980 on white background.
This text has black color on #CC8980 background.
This text has white color on #CC8980 background.