HEX: #C5B92E
RGB: (197,185,46)
#C5B92E contains mainly red and green colors. Web safe color of #C5B92E is #CCCC33 (or #CC3).
#C5B92E color RGB value is (197,185,46).
RGB: (197,185,46) (77%,73%,18%)
R 197 of 255 = 77%
G 185 of 255 = 73%
B 46 of 255 = 18%
R + G + B ~ 56%. #C5B92E is middle color (not dark and not light).
R + G + B =
197 + 185 + 46 = 428 (100%)
R 197 of 428 ~ 46.03%
G 185 of 428 ~ 43.22%
B 46 of 428 ~ 10.75%
#C5B92E color CMYK value is (0,6,77,23).
CMYK: (0,6,77,23) C0M6Y77K23 (0%,6%,77%,23%) (0.00/0.06/0.77/0.23)
C5 | B9 | 2E | |
---|---|---|---|
RGB | 197 | 185 | 46 |
HSL | 55° | 62.14% | 47.65% |
HSB/HSV | 55° | 76.65% | 77.25% |
CMYK | 0.00% | 6.09% | 76.65% |
22.75% |
HEX | C5 | B9 | 2E |
Decimal | 197 | 185 | 46 |
Binary | 11000101 | 10111001 | 101110 |
Octal | 305 | 271 | 56 |
Examples of css and html codes for elements with #C5B92E color. Also use rgb(197,185,46) instead hex code.
.myTextColor { color: #C5B92E; }
<p style="color:#C5B92E">This sample text font color is #C5B92E.</p>
This text font color is #C5B92E.
.myBgColor { background-color: #C5B92E; }
<div style="background-color:#C5B92E">Inner text</div>
This div background color is #C5B92E.
.myBorderColor { border: 1px solid #C5B92E; }
<div style="border:3px solid #C5B92E">Div</div>
This div border color is #C5B92E.
.myOpacity80 { color: #C5B92E; opacity: 0.8; }
<p style="color:#C5B92E;opacity:0.8;">80%</p>
Text with #C5B92E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5B92E;}
<p style="text-shadow: 3px 3px 1px #C5B92E">Text here.</p>
This text has shadow with #C5B92E color.
.textShadow {text-shadow: 3px 3px 1px #C5B92E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5B92E, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5B92E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5B92E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5B92E, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5B92E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5B92E; -webkit-box-shadow: 1px 1px 3px 2px #C5B92E; box-shadow: 1px 1px 3px 2px #C5B92E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5B92E; -webkit-box-shadow: 1px 1px 3px 2px #C5B92E; box-shadow:1px 1px 3px 2px #C5B92E;">
Div content here</div>
This text has color #C5B92E on black background.
This text has color #C5B92E on white background.
This text has black color on #C5B92E background.
This text has white color on #C5B92E background.