HEX: #C4A54F
RGB: (196,165,79)
#C4A54F contains mainly red and green colors. Web safe color of #C4A54F is #CC9966 (or #C96).
#C4A54F color RGB value is (196,165,79).
RGB: (196,165,79) (77%,65%,31%)
R 196 of 255 = 77%
G 165 of 255 = 65%
B 79 of 255 = 31%
R + G + B ~ 58%. #C4A54F is middle color (not dark and not light).
R + G + B =
196 + 165 + 79 = 440 (100%)
R 196 of 440 ~ 44.55%
G 165 of 440 ~ 37.5%
B 79 of 440 ~ 17.95%
#C4A54F color CMYK value is (0,16,60,23).
CMYK: (0,16,60,23) C0M16Y60K23 (0%,16%,60%,23%) (0.00/0.16/0.60/0.23)
C4 | A5 | 4F | |
---|---|---|---|
RGB | 196 | 165 | 79 |
HSL | 44° | 49.79% | 53.92% |
HSB/HSV | 44° | 59.69% | 76.86% |
CMYK | 0.00% | 15.82% | 59.69% |
23.14% |
HEX | C4 | A5 | 4F |
Decimal | 196 | 165 | 79 |
Binary | 11000100 | 10100101 | 1001111 |
Octal | 304 | 245 | 117 |
Examples of css and html codes for elements with #C4A54F color. Also use rgb(196,165,79) instead hex code.
.myTextColor { color: #C4A54F; }
<p style="color:#C4A54F">This sample text font color is #C4A54F.</p>
This text font color is #C4A54F.
.myBgColor { background-color: #C4A54F; }
<div style="background-color:#C4A54F">Inner text</div>
This div background color is #C4A54F.
.myBorderColor { border: 1px solid #C4A54F; }
<div style="border:3px solid #C4A54F">Div</div>
This div border color is #C4A54F.
.myOpacity80 { color: #C4A54F; opacity: 0.8; }
<p style="color:#C4A54F;opacity:0.8;">80%</p>
Text with #C4A54F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4A54F;}
<p style="text-shadow: 3px 3px 1px #C4A54F">Text here.</p>
This text has shadow with #C4A54F color.
.textShadow {text-shadow: 3px 3px 1px #C4A54F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4A54F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4A54F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4A54F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4A54F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4A54F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4A54F; -webkit-box-shadow: 1px 1px 3px 2px #C4A54F; box-shadow: 1px 1px 3px 2px #C4A54F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4A54F; -webkit-box-shadow: 1px 1px 3px 2px #C4A54F; box-shadow:1px 1px 3px 2px #C4A54F;">
Div content here</div>
This text has color #C4A54F on black background.
This text has color #C4A54F on white background.
This text has black color on #C4A54F background.
This text has white color on #C4A54F background.