HEX: #C5A861
RGB: (197,168,97)
#C5A861 contains mainly red and green colors. Web safe color of #C5A861 is #CC9966 (or #C96).
#C5A861 color RGB value is (197,168,97).
RGB: (197,168,97) (77%,66%,38%)
R 197 of 255 = 77%
G 168 of 255 = 66%
B 97 of 255 = 38%
R + G + B ~ 60%. #C5A861 is middle color (not dark and not light).
R + G + B =
197 + 168 + 97 = 462 (100%)
R 197 of 462 ~ 42.64%
G 168 of 462 ~ 36.36%
B 97 of 462 ~ 21%
#C5A861 color CMYK value is (0,15,51,23).
CMYK: (0,15,51,23) C0M15Y51K23 (0%,15%,51%,23%) (0.00/0.15/0.51/0.23)
C5 | A8 | 61 | |
---|---|---|---|
RGB | 197 | 168 | 97 |
HSL | 43° | 46.30% | 57.65% |
HSB/HSV | 43° | 50.76% | 77.25% |
CMYK | 0.00% | 14.72% | 50.76% |
22.75% |
HEX | C5 | A8 | 61 |
Decimal | 197 | 168 | 97 |
Binary | 11000101 | 10101000 | 1100001 |
Octal | 305 | 250 | 141 |
Examples of css and html codes for elements with #C5A861 color. Also use rgb(197,168,97) instead hex code.
.myTextColor { color: #C5A861; }
<p style="color:#C5A861">This sample text font color is #C5A861.</p>
This text font color is #C5A861.
.myBgColor { background-color: #C5A861; }
<div style="background-color:#C5A861">Inner text</div>
This div background color is #C5A861.
.myBorderColor { border: 1px solid #C5A861; }
<div style="border:3px solid #C5A861">Div</div>
This div border color is #C5A861.
.myOpacity80 { color: #C5A861; opacity: 0.8; }
<p style="color:#C5A861;opacity:0.8;">80%</p>
Text with #C5A861 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5A861;}
<p style="text-shadow: 3px 3px 1px #C5A861">Text here.</p>
This text has shadow with #C5A861 color.
.textShadow {text-shadow: 3px 3px 1px #C5A861, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5A861, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5A861 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5A861, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5A861, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5A861 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5A861; -webkit-box-shadow: 1px 1px 3px 2px #C5A861; box-shadow: 1px 1px 3px 2px #C5A861; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5A861; -webkit-box-shadow: 1px 1px 3px 2px #C5A861; box-shadow:1px 1px 3px 2px #C5A861;">
Div content here</div>
This text has color #C5A861 on black background.
This text has color #C5A861 on white background.
This text has black color on #C5A861 background.
This text has white color on #C5A861 background.