HEX: #C4C240
RGB: (196,194,64)
#C4C240 contains mainly red and green colors. Web safe color of #C4C240 is #CCCC33 (or #CC3).
#C4C240 color RGB value is (196,194,64).
RGB: (196,194,64) (77%,76%,25%)
R 196 of 255 = 77%
G 194 of 255 = 76%
B 64 of 255 = 25%
R + G + B ~ 59%. #C4C240 is middle color (not dark and not light).
R + G + B =
196 + 194 + 64 = 454 (100%)
R 196 of 454 ~ 43.17%
G 194 of 454 ~ 42.73%
B 64 of 454 ~ 14.1%
#C4C240 color CMYK value is (0,1,67,23).
CMYK: (0,1,67,23) C0M1Y67K23 (0%,1%,67%,23%) (0.00/0.01/0.67/0.23)
C4 | C2 | 40 | |
---|---|---|---|
RGB | 196 | 194 | 64 |
HSL | 59° | 52.80% | 50.98% |
HSB/HSV | 59° | 67.35% | 76.86% |
CMYK | 0.00% | 1.02% | 67.35% |
23.14% |
HEX | C4 | C2 | 40 |
Decimal | 196 | 194 | 64 |
Binary | 11000100 | 11000010 | 1000000 |
Octal | 304 | 302 | 100 |
Examples of css and html codes for elements with #C4C240 color. Also use rgb(196,194,64) instead hex code.
.myTextColor { color: #C4C240; }
<p style="color:#C4C240">This sample text font color is #C4C240.</p>
This text font color is #C4C240.
.myBgColor { background-color: #C4C240; }
<div style="background-color:#C4C240">Inner text</div>
This div background color is #C4C240.
.myBorderColor { border: 1px solid #C4C240; }
<div style="border:3px solid #C4C240">Div</div>
This div border color is #C4C240.
.myOpacity80 { color: #C4C240; opacity: 0.8; }
<p style="color:#C4C240;opacity:0.8;">80%</p>
Text with #C4C240 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4C240;}
<p style="text-shadow: 3px 3px 1px #C4C240">Text here.</p>
This text has shadow with #C4C240 color.
.textShadow {text-shadow: 3px 3px 1px #C4C240, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4C240, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4C240 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4C240, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4C240, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4C240 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4C240; -webkit-box-shadow: 1px 1px 3px 2px #C4C240; box-shadow: 1px 1px 3px 2px #C4C240; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4C240; -webkit-box-shadow: 1px 1px 3px 2px #C4C240; box-shadow:1px 1px 3px 2px #C4C240;">
Div content here</div>
This text has color #C4C240 on black background.
This text has color #C4C240 on white background.
This text has black color on #C4C240 background.
This text has white color on #C4C240 background.