HEX: #CC6666
RGB: (204,102,102)
#CC6666 contains mainly red color. #CC6666 color is web safe color. It maybe written shortly as #C66.
#CC6666 color RGB value is (204,102,102).
RGB: (204,102,102) (80%,40%,40%)
R 204 of 255 = 80%
G 102 of 255 = 40%
B 102 of 255 = 40%
R + G + B ~ 53%. #CC6666 is middle color (not dark and not light).
R + G + B =
204 + 102 + 102 = 408 (100%)
R 204 of 408 ~ 50%
G 102 of 408 ~ 25%
B 102 of 408 ~ 25%
#CC6666 color CMYK value is (0,50,50,20).
CMYK: (0,50,50,20) C0M50Y50K20 (0%,50%,50%,20%) (0.00/0.50/0.50/0.20)
CC | 66 | 66 | |
---|---|---|---|
RGB | 204 | 102 | 102 |
HSL | 0° | 50.00% | 60.00% |
HSB/HSV | 0° | 50.00% | 80.00% |
CMYK | 0.00% | 50.00% | 50.00% |
20.00% |
HEX | CC | 66 | 66 |
Decimal | 204 | 102 | 102 |
Binary | 11001100 | 1100110 | 1100110 |
Octal | 314 | 146 | 146 |
Examples of css and html codes for elements with #CC6666 color. Also use rgb(204,102,102) instead hex code.
.myTextColor { color: #CC6666; }
<p style="color:#CC6666">This sample text font color is #CC6666.</p>
This text font color is #CC6666.
.myBgColor { background-color: #CC6666; }
<div style="background-color:#CC6666">Inner text</div>
This div background color is #CC6666.
.myBorderColor { border: 1px solid #CC6666; }
<div style="border:3px solid #CC6666">Div</div>
This div border color is #CC6666.
.myOpacity80 { color: #CC6666; opacity: 0.8; }
<p style="color:#CC6666;opacity:0.8;">80%</p>
Text with #CC6666 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC6666;}
<p style="text-shadow: 3px 3px 1px #CC6666">Text here.</p>
This text has shadow with #CC6666 color.
.textShadow {text-shadow: 3px 3px 1px #CC6666, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC6666, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC6666 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC6666, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC6666, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC6666 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC6666; -webkit-box-shadow: 1px 1px 3px 2px #CC6666; box-shadow: 1px 1px 3px 2px #CC6666; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC6666; -webkit-box-shadow: 1px 1px 3px 2px #CC6666; box-shadow:1px 1px 3px 2px #CC6666;">
Div content here</div>
This text has color #CC6666 on black background.
This text has color #CC6666 on white background.
This text has black color on #CC6666 background.
This text has white color on #CC6666 background.