HEX: #CC7A74
RGB: (204,122,116)
#CC7A74 contains mainly red color. Web safe color of #CC7A74 is #CC6666 (or #C66).
#CC7A74 color RGB value is (204,122,116).
RGB: (204,122,116) (80%,48%,45%)
R 204 of 255 = 80%
G 122 of 255 = 48%
B 116 of 255 = 45%
R + G + B ~ 58%. #CC7A74 is middle color (not dark and not light).
R + G + B =
204 + 122 + 116 = 442 (100%)
R 204 of 442 ~ 46.15%
G 122 of 442 ~ 27.6%
B 116 of 442 ~ 26.24%
#CC7A74 color CMYK value is (0,40,43,20).
CMYK: (0,40,43,20) C0M40Y43K20 (0%,40%,43%,20%) (0.00/0.40/0.43/0.20)
CC | 7A | 74 | |
---|---|---|---|
RGB | 204 | 122 | 116 |
HSL | 4° | 46.32% | 62.75% |
HSB/HSV | 4° | 43.14% | 80.00% |
CMYK | 0.00% | 40.20% | 43.14% |
20.00% |
HEX | CC | 7A | 74 |
Decimal | 204 | 122 | 116 |
Binary | 11001100 | 1111010 | 1110100 |
Octal | 314 | 172 | 164 |
Examples of css and html codes for elements with #CC7A74 color. Also use rgb(204,122,116) instead hex code.
.myTextColor { color: #CC7A74; }
<p style="color:#CC7A74">This sample text font color is #CC7A74.</p>
This text font color is #CC7A74.
.myBgColor { background-color: #CC7A74; }
<div style="background-color:#CC7A74">Inner text</div>
This div background color is #CC7A74.
.myBorderColor { border: 1px solid #CC7A74; }
<div style="border:3px solid #CC7A74">Div</div>
This div border color is #CC7A74.
.myOpacity80 { color: #CC7A74; opacity: 0.8; }
<p style="color:#CC7A74;opacity:0.8;">80%</p>
Text with #CC7A74 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC7A74;}
<p style="text-shadow: 3px 3px 1px #CC7A74">Text here.</p>
This text has shadow with #CC7A74 color.
.textShadow {text-shadow: 3px 3px 1px #CC7A74, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC7A74, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC7A74 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC7A74, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC7A74, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC7A74 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC7A74; -webkit-box-shadow: 1px 1px 3px 2px #CC7A74; box-shadow: 1px 1px 3px 2px #CC7A74; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC7A74; -webkit-box-shadow: 1px 1px 3px 2px #CC7A74; box-shadow:1px 1px 3px 2px #CC7A74;">
Div content here</div>
This text has color #CC7A74 on black background.
This text has color #CC7A74 on white background.
This text has black color on #CC7A74 background.
This text has white color on #CC7A74 background.