HEX: #C7996B
RGB: (199,153,107)
#C7996B contains mainly red and green colors. Web safe color of #C7996B is #CC9966 (or #C96).
#C7996B color RGB value is (199,153,107).
RGB: (199,153,107) (78%,60%,42%)
R 199 of 255 = 78%
G 153 of 255 = 60%
B 107 of 255 = 42%
R + G + B ~ 60%. #C7996B is middle color (not dark and not light).
R + G + B =
199 + 153 + 107 = 459 (100%)
R 199 of 459 ~ 43.36%
G 153 of 459 ~ 33.33%
B 107 of 459 ~ 23.31%
#C7996B color CMYK value is (0,23,46,22).
CMYK: (0,23,46,22) C0M23Y46K22 (0%,23%,46%,22%) (0.00/0.23/0.46/0.22)
C7 | 99 | 6B | |
---|---|---|---|
RGB | 199 | 153 | 107 |
HSL | 30° | 45.10% | 60.00% |
HSB/HSV | 30° | 46.23% | 78.04% |
CMYK | 0.00% | 23.12% | 46.23% |
21.96% |
HEX | C7 | 99 | 6B |
Decimal | 199 | 153 | 107 |
Binary | 11000111 | 10011001 | 1101011 |
Octal | 307 | 231 | 153 |
Examples of css and html codes for elements with #C7996B color. Also use rgb(199,153,107) instead hex code.
.myTextColor { color: #C7996B; }
<p style="color:#C7996B">This sample text font color is #C7996B.</p>
This text font color is #C7996B.
.myBgColor { background-color: #C7996B; }
<div style="background-color:#C7996B">Inner text</div>
This div background color is #C7996B.
.myBorderColor { border: 1px solid #C7996B; }
<div style="border:3px solid #C7996B">Div</div>
This div border color is #C7996B.
.myOpacity80 { color: #C7996B; opacity: 0.8; }
<p style="color:#C7996B;opacity:0.8;">80%</p>
Text with #C7996B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7996B;}
<p style="text-shadow: 3px 3px 1px #C7996B">Text here.</p>
This text has shadow with #C7996B color.
.textShadow {text-shadow: 3px 3px 1px #C7996B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7996B, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7996B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7996B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7996B, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7996B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7996B; -webkit-box-shadow: 1px 1px 3px 2px #C7996B; box-shadow: 1px 1px 3px 2px #C7996B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7996B; -webkit-box-shadow: 1px 1px 3px 2px #C7996B; box-shadow:1px 1px 3px 2px #C7996B;">
Div content here</div>
This text has color #C7996B on black background.
This text has color #C7996B on white background.
This text has black color on #C7996B background.
This text has white color on #C7996B background.