HEX: #C4AD1B
RGB: (196,173,27)
#C4AD1B contains mainly red and green colors. Web safe color of #C4AD1B is #CC9933 (or #C93).
#C4AD1B color RGB value is (196,173,27).
RGB: (196,173,27) (77%,68%,11%)
R 196 of 255 = 77%
G 173 of 255 = 68%
B 27 of 255 = 11%
R + G + B ~ 52%. #C4AD1B is middle color (not dark and not light).
R + G + B =
196 + 173 + 27 = 396 (100%)
R 196 of 396 ~ 49.49%
G 173 of 396 ~ 43.69%
B 27 of 396 ~ 6.82%
#C4AD1B color CMYK value is (0,12,86,23).
CMYK: (0,12,86,23) C0M12Y86K23 (0%,12%,86%,23%) (0.00/0.12/0.86/0.23)
C4 | AD | 1B | |
---|---|---|---|
RGB | 196 | 173 | 27 |
HSL | 52° | 75.78% | 43.73% |
HSB/HSV | 52° | 86.22% | 76.86% |
CMYK | 0.00% | 11.73% | 86.22% |
23.14% |
HEX | C4 | AD | 1B |
Decimal | 196 | 173 | 27 |
Binary | 11000100 | 10101101 | 11011 |
Octal | 304 | 255 | 33 |
Examples of css and html codes for elements with #C4AD1B color. Also use rgb(196,173,27) instead hex code.
.myTextColor { color: #C4AD1B; }
<p style="color:#C4AD1B">This sample text font color is #C4AD1B.</p>
This text font color is #C4AD1B.
.myBgColor { background-color: #C4AD1B; }
<div style="background-color:#C4AD1B">Inner text</div>
This div background color is #C4AD1B.
.myBorderColor { border: 1px solid #C4AD1B; }
<div style="border:3px solid #C4AD1B">Div</div>
This div border color is #C4AD1B.
.myOpacity80 { color: #C4AD1B; opacity: 0.8; }
<p style="color:#C4AD1B;opacity:0.8;">80%</p>
Text with #C4AD1B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4AD1B;}
<p style="text-shadow: 3px 3px 1px #C4AD1B">Text here.</p>
This text has shadow with #C4AD1B color.
.textShadow {text-shadow: 3px 3px 1px #C4AD1B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4AD1B, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4AD1B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4AD1B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4AD1B, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4AD1B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4AD1B; -webkit-box-shadow: 1px 1px 3px 2px #C4AD1B; box-shadow: 1px 1px 3px 2px #C4AD1B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4AD1B; -webkit-box-shadow: 1px 1px 3px 2px #C4AD1B; box-shadow:1px 1px 3px 2px #C4AD1B;">
Div content here</div>
This text has color #C4AD1B on black background.
This text has color #C4AD1B on white background.
This text has black color on #C4AD1B background.
This text has white color on #C4AD1B background.