HEX: #CC727E
RGB: (204,114,126)
#CC727E contains mainly red color. Web safe color of #CC727E is #CC6666 (or #C66).
#CC727E color RGB value is (204,114,126).
RGB: (204,114,126) (80%,45%,49%)
R 204 of 255 = 80%
G 114 of 255 = 45%
B 126 of 255 = 49%
R + G + B ~ 58%. #CC727E is middle color (not dark and not light).
R + G + B =
204 + 114 + 126 = 444 (100%)
R 204 of 444 ~ 45.95%
G 114 of 444 ~ 25.68%
B 126 of 444 ~ 28.38%
#CC727E color CMYK value is (0,44,38,20).
CMYK: (0,44,38,20) C0M44Y38K20 (0%,44%,38%,20%) (0.00/0.44/0.38/0.20)
CC | 72 | 7E | |
---|---|---|---|
RGB | 204 | 114 | 126 |
HSL | 352° | 46.88% | 62.35% |
HSB/HSV | 352° | 44.12% | 80.00% |
CMYK | 0.00% | 44.12% | 38.24% |
20.00% |
HEX | CC | 72 | 7E |
Decimal | 204 | 114 | 126 |
Binary | 11001100 | 1110010 | 1111110 |
Octal | 314 | 162 | 176 |
Examples of css and html codes for elements with #CC727E color. Also use rgb(204,114,126) instead hex code.
.myTextColor { color: #CC727E; }
<p style="color:#CC727E">This sample text font color is #CC727E.</p>
This text font color is #CC727E.
.myBgColor { background-color: #CC727E; }
<div style="background-color:#CC727E">Inner text</div>
This div background color is #CC727E.
.myBorderColor { border: 1px solid #CC727E; }
<div style="border:3px solid #CC727E">Div</div>
This div border color is #CC727E.
.myOpacity80 { color: #CC727E; opacity: 0.8; }
<p style="color:#CC727E;opacity:0.8;">80%</p>
Text with #CC727E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC727E;}
<p style="text-shadow: 3px 3px 1px #CC727E">Text here.</p>
This text has shadow with #CC727E color.
.textShadow {text-shadow: 3px 3px 1px #CC727E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC727E, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC727E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC727E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC727E, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC727E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC727E; -webkit-box-shadow: 1px 1px 3px 2px #CC727E; box-shadow: 1px 1px 3px 2px #CC727E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC727E; -webkit-box-shadow: 1px 1px 3px 2px #CC727E; box-shadow:1px 1px 3px 2px #CC727E;">
Div content here</div>
This text has color #CC727E on black background.
This text has color #CC727E on white background.
This text has black color on #CC727E background.
This text has white color on #CC727E background.