HEX: #C6B562
RGB: (198,181,98)
#C6B562 contains mainly red and green colors. Web safe color of #C6B562 is #CCCC66 (or #CC6).
#C6B562 color RGB value is (198,181,98).
RGB: (198,181,98) (78%,71%,38%)
R 198 of 255 = 78%
G 181 of 255 = 71%
B 98 of 255 = 38%
R + G + B ~ 62%. #C6B562 is quite light color.
R + G + B =
198 + 181 + 98 = 477 (100%)
R 198 of 477 ~ 41.51%
G 181 of 477 ~ 37.95%
B 98 of 477 ~ 20.55%
#C6B562 color CMYK value is (0,9,51,22).
CMYK: (0,9,51,22) C0M9Y51K22 (0%,9%,51%,22%) (0.00/0.09/0.51/0.22)
C6 | B5 | 62 | |
---|---|---|---|
RGB | 198 | 181 | 98 |
HSL | 50° | 46.73% | 58.04% |
HSB/HSV | 50° | 50.51% | 77.65% |
CMYK | 0.00% | 8.59% | 50.51% |
22.35% |
HEX | C6 | B5 | 62 |
Decimal | 198 | 181 | 98 |
Binary | 11000110 | 10110101 | 1100010 |
Octal | 306 | 265 | 142 |
Examples of css and html codes for elements with #C6B562 color. Also use rgb(198,181,98) instead hex code.
.myTextColor { color: #C6B562; }
<p style="color:#C6B562">This sample text font color is #C6B562.</p>
This text font color is #C6B562.
.myBgColor { background-color: #C6B562; }
<div style="background-color:#C6B562">Inner text</div>
This div background color is #C6B562.
.myBorderColor { border: 1px solid #C6B562; }
<div style="border:3px solid #C6B562">Div</div>
This div border color is #C6B562.
.myOpacity80 { color: #C6B562; opacity: 0.8; }
<p style="color:#C6B562;opacity:0.8;">80%</p>
Text with #C6B562 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6B562;}
<p style="text-shadow: 3px 3px 1px #C6B562">Text here.</p>
This text has shadow with #C6B562 color.
.textShadow {text-shadow: 3px 3px 1px #C6B562, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6B562, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6B562 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6B562, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6B562, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6B562 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6B562; -webkit-box-shadow: 1px 1px 3px 2px #C6B562; box-shadow: 1px 1px 3px 2px #C6B562; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6B562; -webkit-box-shadow: 1px 1px 3px 2px #C6B562; box-shadow:1px 1px 3px 2px #C6B562;">
Div content here</div>
This text has color #C6B562 on black background.
This text has color #C6B562 on white background.
This text has black color on #C6B562 background.
This text has white color on #C6B562 background.