HEX: #CC796D
RGB: (204,121,109)
#CC796D contains mainly red color. Web safe color of #CC796D is #CC6666 (or #C66).
#CC796D color RGB value is (204,121,109).
RGB: (204,121,109) (80%,47%,43%)
R 204 of 255 = 80%
G 121 of 255 = 47%
B 109 of 255 = 43%
R + G + B ~ 57%. #CC796D is middle color (not dark and not light).
R + G + B =
204 + 121 + 109 = 434 (100%)
R 204 of 434 ~ 47%
G 121 of 434 ~ 27.88%
B 109 of 434 ~ 25.12%
#CC796D color CMYK value is (0,41,47,20).
CMYK: (0,41,47,20) C0M41Y47K20 (0%,41%,47%,20%) (0.00/0.41/0.47/0.20)
CC | 79 | 6D | |
---|---|---|---|
RGB | 204 | 121 | 109 |
HSL | 8° | 48.22% | 61.37% |
HSB/HSV | 8° | 46.57% | 80.00% |
CMYK | 0.00% | 40.69% | 46.57% |
20.00% |
HEX | CC | 79 | 6D |
Decimal | 204 | 121 | 109 |
Binary | 11001100 | 1111001 | 1101101 |
Octal | 314 | 171 | 155 |
Examples of css and html codes for elements with #CC796D color. Also use rgb(204,121,109) instead hex code.
.myTextColor { color: #CC796D; }
<p style="color:#CC796D">This sample text font color is #CC796D.</p>
This text font color is #CC796D.
.myBgColor { background-color: #CC796D; }
<div style="background-color:#CC796D">Inner text</div>
This div background color is #CC796D.
.myBorderColor { border: 1px solid #CC796D; }
<div style="border:3px solid #CC796D">Div</div>
This div border color is #CC796D.
.myOpacity80 { color: #CC796D; opacity: 0.8; }
<p style="color:#CC796D;opacity:0.8;">80%</p>
Text with #CC796D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC796D;}
<p style="text-shadow: 3px 3px 1px #CC796D">Text here.</p>
This text has shadow with #CC796D color.
.textShadow {text-shadow: 3px 3px 1px #CC796D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC796D, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC796D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC796D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC796D, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC796D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC796D; -webkit-box-shadow: 1px 1px 3px 2px #CC796D; box-shadow: 1px 1px 3px 2px #CC796D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC796D; -webkit-box-shadow: 1px 1px 3px 2px #CC796D; box-shadow:1px 1px 3px 2px #CC796D;">
Div content here</div>
This text has color #CC796D on black background.
This text has color #CC796D on white background.
This text has black color on #CC796D background.
This text has white color on #CC796D background.