HEX: #C7C878
RGB: (199,200,120)
#C7C878 contains mainly red and green colors. Web safe color of #C7C878 is #CCCC66 (or #CC6).
#C7C878 color RGB value is (199,200,120).
RGB: (199,200,120) (78%,78%,47%)
R 199 of 255 = 78%
G 200 of 255 = 78%
B 120 of 255 = 47%
R + G + B ~ 68%. #C7C878 is quite light color.
R + G + B =
199 + 200 + 120 = 519 (100%)
R 199 of 519 ~ 38.34%
G 200 of 519 ~ 38.54%
B 120 of 519 ~ 23.12%
#C7C878 color CMYK value is (0,0,40,22).
CMYK: (0,0,40,22) C0M0Y40K22 (0%,0%,40%,22%) (0.00/0.00/0.40/0.22)
C7 | C8 | 78 | |
---|---|---|---|
RGB | 199 | 200 | 120 |
HSL | 61° | 42.11% | 62.75% |
HSB/HSV | 61° | 40.00% | 78.43% |
CMYK | 0.50% | 0.00% | 40.00% |
21.57% |
HEX | C7 | C8 | 78 |
Decimal | 199 | 200 | 120 |
Binary | 11000111 | 11001000 | 1111000 |
Octal | 307 | 310 | 170 |
Examples of css and html codes for elements with #C7C878 color. Also use rgb(199,200,120) instead hex code.
.myTextColor { color: #C7C878; }
<p style="color:#C7C878">This sample text font color is #C7C878.</p>
This text font color is #C7C878.
.myBgColor { background-color: #C7C878; }
<div style="background-color:#C7C878">Inner text</div>
This div background color is #C7C878.
.myBorderColor { border: 1px solid #C7C878; }
<div style="border:3px solid #C7C878">Div</div>
This div border color is #C7C878.
.myOpacity80 { color: #C7C878; opacity: 0.8; }
<p style="color:#C7C878;opacity:0.8;">80%</p>
Text with #C7C878 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C7C878;}
<p style="text-shadow: 3px 3px 1px #C7C878">Text here.</p>
This text has shadow with #C7C878 color.
.textShadow {text-shadow: 3px 3px 1px #C7C878, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C7C878, 5px 5px 20px red">Text here.</p>
This text has shadow with #C7C878 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C7C878, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C7C878, Direction=45, Strength=4)">Text</p>
This text has shadow with #C7C878 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C7C878; -webkit-box-shadow: 1px 1px 3px 2px #C7C878; box-shadow: 1px 1px 3px 2px #C7C878; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C7C878; -webkit-box-shadow: 1px 1px 3px 2px #C7C878; box-shadow:1px 1px 3px 2px #C7C878;">
Div content here</div>
This text has color #C7C878 on black background.
This text has color #C7C878 on white background.
This text has black color on #C7C878 background.
This text has white color on #C7C878 background.