HEX: #C6B941
RGB: (198,185,65)
#C6B941 contains mainly red and green colors. Web safe color of #C6B941 is #CCCC33 (or #CC3).
#C6B941 color RGB value is (198,185,65).
RGB: (198,185,65) (78%,73%,25%)
R 198 of 255 = 78%
G 185 of 255 = 73%
B 65 of 255 = 25%
R + G + B ~ 59%. #C6B941 is middle color (not dark and not light).
R + G + B =
198 + 185 + 65 = 448 (100%)
R 198 of 448 ~ 44.2%
G 185 of 448 ~ 41.29%
B 65 of 448 ~ 14.51%
#C6B941 color CMYK value is (0,7,67,22).
CMYK: (0,7,67,22) C0M7Y67K22 (0%,7%,67%,22%) (0.00/0.07/0.67/0.22)
C6 | B9 | 41 | |
---|---|---|---|
RGB | 198 | 185 | 65 |
HSL | 54° | 53.85% | 51.57% |
HSB/HSV | 54° | 67.17% | 77.65% |
CMYK | 0.00% | 6.57% | 67.17% |
22.35% |
HEX | C6 | B9 | 41 |
Decimal | 198 | 185 | 65 |
Binary | 11000110 | 10111001 | 1000001 |
Octal | 306 | 271 | 101 |
Examples of css and html codes for elements with #C6B941 color. Also use rgb(198,185,65) instead hex code.
.myTextColor { color: #C6B941; }
<p style="color:#C6B941">This sample text font color is #C6B941.</p>
This text font color is #C6B941.
.myBgColor { background-color: #C6B941; }
<div style="background-color:#C6B941">Inner text</div>
This div background color is #C6B941.
.myBorderColor { border: 1px solid #C6B941; }
<div style="border:3px solid #C6B941">Div</div>
This div border color is #C6B941.
.myOpacity80 { color: #C6B941; opacity: 0.8; }
<p style="color:#C6B941;opacity:0.8;">80%</p>
Text with #C6B941 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6B941;}
<p style="text-shadow: 3px 3px 1px #C6B941">Text here.</p>
This text has shadow with #C6B941 color.
.textShadow {text-shadow: 3px 3px 1px #C6B941, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6B941, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6B941 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6B941, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6B941, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6B941 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6B941; -webkit-box-shadow: 1px 1px 3px 2px #C6B941; box-shadow: 1px 1px 3px 2px #C6B941; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6B941; -webkit-box-shadow: 1px 1px 3px 2px #C6B941; box-shadow:1px 1px 3px 2px #C6B941;">
Div content here</div>
This text has color #C6B941 on black background.
This text has color #C6B941 on white background.
This text has black color on #C6B941 background.
This text has white color on #C6B941 background.