HEX: #C5AF5F
RGB: (197,175,95)
#C5AF5F contains mainly red and green colors. Web safe color of #C5AF5F is #CC9966 (or #C96).
#C5AF5F color RGB value is (197,175,95).
RGB: (197,175,95) (77%,69%,37%)
R 197 of 255 = 77%
G 175 of 255 = 69%
B 95 of 255 = 37%
R + G + B ~ 61%. #C5AF5F is quite light color.
R + G + B =
197 + 175 + 95 = 467 (100%)
R 197 of 467 ~ 42.18%
G 175 of 467 ~ 37.47%
B 95 of 467 ~ 20.34%
#C5AF5F color CMYK value is (0,11,52,23).
CMYK: (0,11,52,23) C0M11Y52K23 (0%,11%,52%,23%) (0.00/0.11/0.52/0.23)
C5 | AF | 5F | |
---|---|---|---|
RGB | 197 | 175 | 95 |
HSL | 47° | 46.79% | 57.25% |
HSB/HSV | 47° | 51.78% | 77.25% |
CMYK | 0.00% | 11.17% | 51.78% |
22.75% |
HEX | C5 | AF | 5F |
Decimal | 197 | 175 | 95 |
Binary | 11000101 | 10101111 | 1011111 |
Octal | 305 | 257 | 137 |
Examples of css and html codes for elements with #C5AF5F color. Also use rgb(197,175,95) instead hex code.
.myTextColor { color: #C5AF5F; }
<p style="color:#C5AF5F">This sample text font color is #C5AF5F.</p>
This text font color is #C5AF5F.
.myBgColor { background-color: #C5AF5F; }
<div style="background-color:#C5AF5F">Inner text</div>
This div background color is #C5AF5F.
.myBorderColor { border: 1px solid #C5AF5F; }
<div style="border:3px solid #C5AF5F">Div</div>
This div border color is #C5AF5F.
.myOpacity80 { color: #C5AF5F; opacity: 0.8; }
<p style="color:#C5AF5F;opacity:0.8;">80%</p>
Text with #C5AF5F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5AF5F;}
<p style="text-shadow: 3px 3px 1px #C5AF5F">Text here.</p>
This text has shadow with #C5AF5F color.
.textShadow {text-shadow: 3px 3px 1px #C5AF5F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5AF5F, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5AF5F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5AF5F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5AF5F, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5AF5F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5AF5F; -webkit-box-shadow: 1px 1px 3px 2px #C5AF5F; box-shadow: 1px 1px 3px 2px #C5AF5F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5AF5F; -webkit-box-shadow: 1px 1px 3px 2px #C5AF5F; box-shadow:1px 1px 3px 2px #C5AF5F;">
Div content here</div>
This text has color #C5AF5F on black background.
This text has color #C5AF5F on white background.
This text has black color on #C5AF5F background.
This text has white color on #C5AF5F background.