HEX: #CC7886
RGB: (204,120,134)
#CC7886 contains mainly red color. Web safe color of #CC7886 is #CC6699 (or #C69).
#CC7886 color RGB value is (204,120,134).
RGB: (204,120,134) (80%,47%,53%)
R 204 of 255 = 80%
G 120 of 255 = 47%
B 134 of 255 = 53%
R + G + B ~ 60%. #CC7886 is middle color (not dark and not light).
R + G + B =
204 + 120 + 134 = 458 (100%)
R 204 of 458 ~ 44.54%
G 120 of 458 ~ 26.2%
B 134 of 458 ~ 29.26%
#CC7886 color CMYK value is (0,41,34,20).
CMYK: (0,41,34,20) C0M41Y34K20 (0%,41%,34%,20%) (0.00/0.41/0.34/0.20)
CC | 78 | 86 | |
---|---|---|---|
RGB | 204 | 120 | 134 |
HSL | 350° | 45.16% | 63.53% |
HSB/HSV | 350° | 41.18% | 80.00% |
CMYK | 0.00% | 41.18% | 34.31% |
20.00% |
HEX | CC | 78 | 86 |
Decimal | 204 | 120 | 134 |
Binary | 11001100 | 1111000 | 10000110 |
Octal | 314 | 170 | 206 |
Examples of css and html codes for elements with #CC7886 color. Also use rgb(204,120,134) instead hex code.
.myTextColor { color: #CC7886; }
<p style="color:#CC7886">This sample text font color is #CC7886.</p>
This text font color is #CC7886.
.myBgColor { background-color: #CC7886; }
<div style="background-color:#CC7886">Inner text</div>
This div background color is #CC7886.
.myBorderColor { border: 1px solid #CC7886; }
<div style="border:3px solid #CC7886">Div</div>
This div border color is #CC7886.
.myOpacity80 { color: #CC7886; opacity: 0.8; }
<p style="color:#CC7886;opacity:0.8;">80%</p>
Text with #CC7886 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7886;}
<p style="text-shadow: 3px 3px 1px #CC7886">Text here.</p>
This text has shadow with #CC7886 color.
.textShadow {text-shadow: 3px 3px 1px #CC7886, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7886, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7886 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7886, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7886, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7886 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7886; -webkit-box-shadow: 1px 1px 3px 2px #CC7886; box-shadow: 1px 1px 3px 2px #CC7886; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7886; -webkit-box-shadow: 1px 1px 3px 2px #CC7886; box-shadow:1px 1px 3px 2px #CC7886;">
Div content here</div>
This text has color #CC7886 on black background.
This text has color #CC7886 on white background.
This text has black color on #CC7886 background.
This text has white color on #CC7886 background.