HEX: #C5C981
RGB: (197,201,129)
#C5C981 contains mainly red and green colors. Web safe color of #C5C981 is #CCCC99 (or #CC9).
#C5C981 color RGB value is (197,201,129).
RGB: (197,201,129) (77%,79%,51%)
R 197 of 255 = 77%
G 201 of 255 = 79%
B 129 of 255 = 51%
R + G + B ~ 69%. #C5C981 is quite light color.
R + G + B =
197 + 201 + 129 = 527 (100%)
R 197 of 527 ~ 37.38%
G 201 of 527 ~ 38.14%
B 129 of 527 ~ 24.48%
#C5C981 color CMYK value is (2,0,36,21).
CMYK: (2,0,36,21) C2M0Y36K21 (2%,0%,36%,21%) (0.02/0.00/0.36/0.21)
C5 | C9 | 81 | |
---|---|---|---|
RGB | 197 | 201 | 129 |
HSL | 63° | 40.00% | 64.71% |
HSB/HSV | 63° | 35.82% | 78.82% |
CMYK | 1.99% | 0.00% | 35.82% |
21.18% |
HEX | C5 | C9 | 81 |
Decimal | 197 | 201 | 129 |
Binary | 11000101 | 11001001 | 10000001 |
Octal | 305 | 311 | 201 |
Examples of css and html codes for elements with #C5C981 color. Also use rgb(197,201,129) instead hex code.
.myTextColor { color: #C5C981; }
<p style="color:#C5C981">This sample text font color is #C5C981.</p>
This text font color is #C5C981.
.myBgColor { background-color: #C5C981; }
<div style="background-color:#C5C981">Inner text</div>
This div background color is #C5C981.
.myBorderColor { border: 1px solid #C5C981; }
<div style="border:3px solid #C5C981">Div</div>
This div border color is #C5C981.
.myOpacity80 { color: #C5C981; opacity: 0.8; }
<p style="color:#C5C981;opacity:0.8;">80%</p>
Text with #C5C981 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5C981;}
<p style="text-shadow: 3px 3px 1px #C5C981">Text here.</p>
This text has shadow with #C5C981 color.
.textShadow {text-shadow: 3px 3px 1px #C5C981, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5C981, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5C981 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5C981, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5C981, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5C981 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5C981; -webkit-box-shadow: 1px 1px 3px 2px #C5C981; box-shadow: 1px 1px 3px 2px #C5C981; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5C981; -webkit-box-shadow: 1px 1px 3px 2px #C5C981; box-shadow:1px 1px 3px 2px #C5C981;">
Div content here</div>
This text has color #C5C981 on black background.
This text has color #C5C981 on white background.
This text has black color on #C5C981 background.
This text has white color on #C5C981 background.