HEX: #C4C45C
RGB: (196,196,92)
#C4C45C contains mainly red and green colors. Web safe color of #C4C45C is #CCCC66 (or #CC6).
#C4C45C color RGB value is (196,196,92).
RGB: (196,196,92) (77%,77%,36%)
R 196 of 255 = 77%
G 196 of 255 = 77%
B 92 of 255 = 36%
R + G + B ~ 63%. #C4C45C is quite light color.
R + G + B =
196 + 196 + 92 = 484 (100%)
R 196 of 484 ~ 40.5%
G 196 of 484 ~ 40.5%
B 92 of 484 ~ 19.01%
#C4C45C color CMYK value is (0,0,53,23).
CMYK: (0,0,53,23) C0M0Y53K23 (0%,0%,53%,23%) (0.00/0.00/0.53/0.23)
C4 | C4 | 5C | |
---|---|---|---|
RGB | 196 | 196 | 92 |
HSL | 60° | 46.85% | 56.47% |
HSB/HSV | 60° | 53.06% | 76.86% |
CMYK | 0.00% | 0.00% | 53.06% |
23.14% |
HEX | C4 | C4 | 5C |
Decimal | 196 | 196 | 92 |
Binary | 11000100 | 11000100 | 1011100 |
Octal | 304 | 304 | 134 |
Examples of css and html codes for elements with #C4C45C color. Also use rgb(196,196,92) instead hex code.
.myTextColor { color: #C4C45C; }
<p style="color:#C4C45C">This sample text font color is #C4C45C.</p>
This text font color is #C4C45C.
.myBgColor { background-color: #C4C45C; }
<div style="background-color:#C4C45C">Inner text</div>
This div background color is #C4C45C.
.myBorderColor { border: 1px solid #C4C45C; }
<div style="border:3px solid #C4C45C">Div</div>
This div border color is #C4C45C.
.myOpacity80 { color: #C4C45C; opacity: 0.8; }
<p style="color:#C4C45C;opacity:0.8;">80%</p>
Text with #C4C45C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4C45C;}
<p style="text-shadow: 3px 3px 1px #C4C45C">Text here.</p>
This text has shadow with #C4C45C color.
.textShadow {text-shadow: 3px 3px 1px #C4C45C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4C45C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4C45C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4C45C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4C45C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4C45C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4C45C; -webkit-box-shadow: 1px 1px 3px 2px #C4C45C; box-shadow: 1px 1px 3px 2px #C4C45C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4C45C; -webkit-box-shadow: 1px 1px 3px 2px #C4C45C; box-shadow:1px 1px 3px 2px #C4C45C;">
Div content here</div>
This text has color #C4C45C on black background.
This text has color #C4C45C on white background.
This text has black color on #C4C45C background.
This text has white color on #C4C45C background.