HEX: #CC6252
RGB: (204,98,82)
#CC6252 contains mainly red color. Web safe color of #CC6252 is #CC6666 (or #C66).
#CC6252 color RGB value is (204,98,82).
RGB: (204,98,82) (80%,38%,32%)
R 204 of 255 = 80%
G 98 of 255 = 38%
B 82 of 255 = 32%
R + G + B ~ 50%. #CC6252 is middle color (not dark and not light).
R + G + B =
204 + 98 + 82 = 384 (100%)
R 204 of 384 ~ 53.13%
G 98 of 384 ~ 25.52%
B 82 of 384 ~ 21.35%
#CC6252 color CMYK value is (0,52,60,20).
CMYK: (0,52,60,20) C0M52Y60K20 (0%,52%,60%,20%) (0.00/0.52/0.60/0.20)
CC | 62 | 52 | |
---|---|---|---|
RGB | 204 | 98 | 82 |
HSL | 8° | 54.46% | 56.08% |
HSB/HSV | 8° | 59.80% | 80.00% |
CMYK | 0.00% | 51.96% | 59.80% |
20.00% |
HEX | CC | 62 | 52 |
Decimal | 204 | 98 | 82 |
Binary | 11001100 | 1100010 | 1010010 |
Octal | 314 | 142 | 122 |
Examples of css and html codes for elements with #CC6252 color. Also use rgb(204,98,82) instead hex code.
.myTextColor { color: #CC6252; }
<p style="color:#CC6252">This sample text font color is #CC6252.</p>
This text font color is #CC6252.
.myBgColor { background-color: #CC6252; }
<div style="background-color:#CC6252">Inner text</div>
This div background color is #CC6252.
.myBorderColor { border: 1px solid #CC6252; }
<div style="border:3px solid #CC6252">Div</div>
This div border color is #CC6252.
.myOpacity80 { color: #CC6252; opacity: 0.8; }
<p style="color:#CC6252;opacity:0.8;">80%</p>
Text with #CC6252 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC6252;}
<p style="text-shadow: 3px 3px 1px #CC6252">Text here.</p>
This text has shadow with #CC6252 color.
.textShadow {text-shadow: 3px 3px 1px #CC6252, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC6252, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC6252 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC6252, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC6252, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC6252 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC6252; -webkit-box-shadow: 1px 1px 3px 2px #CC6252; box-shadow: 1px 1px 3px 2px #CC6252; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC6252; -webkit-box-shadow: 1px 1px 3px 2px #CC6252; box-shadow:1px 1px 3px 2px #CC6252;">
Div content here</div>
This text has color #CC6252 on black background.
This text has color #CC6252 on white background.
This text has black color on #CC6252 background.
This text has white color on #CC6252 background.