HEX: #C6B95B
RGB: (198,185,91)
#C6B95B contains mainly red and green colors. Web safe color of #C6B95B is #CCCC66 (or #CC6).
#C6B95B color RGB value is (198,185,91).
RGB: (198,185,91) (78%,73%,36%)
R 198 of 255 = 78%
G 185 of 255 = 73%
B 91 of 255 = 36%
R + G + B ~ 62%. #C6B95B is quite light color.
R + G + B =
198 + 185 + 91 = 474 (100%)
R 198 of 474 ~ 41.77%
G 185 of 474 ~ 39.03%
B 91 of 474 ~ 19.2%
#C6B95B color CMYK value is (0,7,54,22).
CMYK: (0,7,54,22) C0M7Y54K22 (0%,7%,54%,22%) (0.00/0.07/0.54/0.22)
C6 | B9 | 5B | |
---|---|---|---|
RGB | 198 | 185 | 91 |
HSL | 53° | 48.42% | 56.67% |
HSB/HSV | 53° | 54.04% | 77.65% |
CMYK | 0.00% | 6.57% | 54.04% |
22.35% |
HEX | C6 | B9 | 5B |
Decimal | 198 | 185 | 91 |
Binary | 11000110 | 10111001 | 1011011 |
Octal | 306 | 271 | 133 |
Examples of css and html codes for elements with #C6B95B color. Also use rgb(198,185,91) instead hex code.
.myTextColor { color: #C6B95B; }
<p style="color:#C6B95B">This sample text font color is #C6B95B.</p>
This text font color is #C6B95B.
.myBgColor { background-color: #C6B95B; }
<div style="background-color:#C6B95B">Inner text</div>
This div background color is #C6B95B.
.myBorderColor { border: 1px solid #C6B95B; }
<div style="border:3px solid #C6B95B">Div</div>
This div border color is #C6B95B.
.myOpacity80 { color: #C6B95B; opacity: 0.8; }
<p style="color:#C6B95B;opacity:0.8;">80%</p>
Text with #C6B95B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6B95B;}
<p style="text-shadow: 3px 3px 1px #C6B95B">Text here.</p>
This text has shadow with #C6B95B color.
.textShadow {text-shadow: 3px 3px 1px #C6B95B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6B95B, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6B95B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6B95B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6B95B, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6B95B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6B95B; -webkit-box-shadow: 1px 1px 3px 2px #C6B95B; box-shadow: 1px 1px 3px 2px #C6B95B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6B95B; -webkit-box-shadow: 1px 1px 3px 2px #C6B95B; box-shadow:1px 1px 3px 2px #C6B95B;">
Div content here</div>
This text has color #C6B95B on black background.
This text has color #C6B95B on white background.
This text has black color on #C6B95B background.
This text has white color on #C6B95B background.