HEX: #CC7B80
RGB: (204,123,128)
#CC7B80 contains mainly red color. Web safe color of #CC7B80 is #CC6666 (or #C66).
#CC7B80 color RGB value is (204,123,128).
RGB: (204,123,128) (80%,48%,50%)
R 204 of 255 = 80%
G 123 of 255 = 48%
B 128 of 255 = 50%
R + G + B ~ 59%. #CC7B80 is middle color (not dark and not light).
R + G + B =
204 + 123 + 128 = 455 (100%)
R 204 of 455 ~ 44.84%
G 123 of 455 ~ 27.03%
B 128 of 455 ~ 28.13%
#CC7B80 color CMYK value is (0,40,37,20).
CMYK: (0,40,37,20) C0M40Y37K20 (0%,40%,37%,20%) (0.00/0.40/0.37/0.20)
CC | 7B | 80 | |
---|---|---|---|
RGB | 204 | 123 | 128 |
HSL | 356° | 44.26% | 64.12% |
HSB/HSV | 356° | 39.71% | 80.00% |
CMYK | 0.00% | 39.71% | 37.25% |
20.00% |
HEX | CC | 7B | 80 |
Decimal | 204 | 123 | 128 |
Binary | 11001100 | 1111011 | 10000000 |
Octal | 314 | 173 | 200 |
Examples of css and html codes for elements with #CC7B80 color. Also use rgb(204,123,128) instead hex code.
.myTextColor { color: #CC7B80; }
<p style="color:#CC7B80">This sample text font color is #CC7B80.</p>
This text font color is #CC7B80.
.myBgColor { background-color: #CC7B80; }
<div style="background-color:#CC7B80">Inner text</div>
This div background color is #CC7B80.
.myBorderColor { border: 1px solid #CC7B80; }
<div style="border:3px solid #CC7B80">Div</div>
This div border color is #CC7B80.
.myOpacity80 { color: #CC7B80; opacity: 0.8; }
<p style="color:#CC7B80;opacity:0.8;">80%</p>
Text with #CC7B80 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7B80;}
<p style="text-shadow: 3px 3px 1px #CC7B80">Text here.</p>
This text has shadow with #CC7B80 color.
.textShadow {text-shadow: 3px 3px 1px #CC7B80, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7B80, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7B80 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7B80, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7B80, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7B80 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7B80; -webkit-box-shadow: 1px 1px 3px 2px #CC7B80; box-shadow: 1px 1px 3px 2px #CC7B80; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7B80; -webkit-box-shadow: 1px 1px 3px 2px #CC7B80; box-shadow:1px 1px 3px 2px #CC7B80;">
Div content here</div>
This text has color #CC7B80 on black background.
This text has color #CC7B80 on white background.
This text has black color on #CC7B80 background.
This text has white color on #CC7B80 background.