HEX: #C8A85C
RGB: (200,168,92)
#C8A85C contains mainly red and green colors. Web safe color of #C8A85C is #CC9966 (or #C96).
#C8A85C color RGB value is (200,168,92).
RGB: (200,168,92) (78%,66%,36%)
R 200 of 255 = 78%
G 168 of 255 = 66%
B 92 of 255 = 36%
R + G + B ~ 60%. #C8A85C is middle color (not dark and not light).
R + G + B =
200 + 168 + 92 = 460 (100%)
R 200 of 460 ~ 43.48%
G 168 of 460 ~ 36.52%
B 92 of 460 ~ 20%
#C8A85C color CMYK value is (0,16,54,22).
CMYK: (0,16,54,22) C0M16Y54K22 (0%,16%,54%,22%) (0.00/0.16/0.54/0.22)
C8 | A8 | 5C | |
---|---|---|---|
RGB | 200 | 168 | 92 |
HSL | 42° | 49.54% | 57.25% |
HSB/HSV | 42° | 54.00% | 78.43% |
CMYK | 0.00% | 16.00% | 54.00% |
21.57% |
HEX | C8 | A8 | 5C |
Decimal | 200 | 168 | 92 |
Binary | 11001000 | 10101000 | 1011100 |
Octal | 310 | 250 | 134 |
Examples of css and html codes for elements with #C8A85C color. Also use rgb(200,168,92) instead hex code.
.myTextColor { color: #C8A85C; }
<p style="color:#C8A85C">This sample text font color is #C8A85C.</p>
This text font color is #C8A85C.
.myBgColor { background-color: #C8A85C; }
<div style="background-color:#C8A85C">Inner text</div>
This div background color is #C8A85C.
.myBorderColor { border: 1px solid #C8A85C; }
<div style="border:3px solid #C8A85C">Div</div>
This div border color is #C8A85C.
.myOpacity80 { color: #C8A85C; opacity: 0.8; }
<p style="color:#C8A85C;opacity:0.8;">80%</p>
Text with #C8A85C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C8A85C;}
<p style="text-shadow: 3px 3px 1px #C8A85C">Text here.</p>
This text has shadow with #C8A85C color.
.textShadow {text-shadow: 3px 3px 1px #C8A85C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C8A85C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C8A85C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C8A85C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C8A85C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C8A85C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C8A85C; -webkit-box-shadow: 1px 1px 3px 2px #C8A85C; box-shadow: 1px 1px 3px 2px #C8A85C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C8A85C; -webkit-box-shadow: 1px 1px 3px 2px #C8A85C; box-shadow:1px 1px 3px 2px #C8A85C;">
Div content here</div>
This text has color #C8A85C on black background.
This text has color #C8A85C on white background.
This text has black color on #C8A85C background.
This text has white color on #C8A85C background.