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