HEX: #C6C232
RGB: (198,194,50)
#C6C232 contains mainly red and green colors. Web safe color of #C6C232 is #CCCC33 (or #CC3).
#C6C232 color RGB value is (198,194,50).
RGB: (198,194,50) (78%,76%,20%)
R 198 of 255 = 78%
G 194 of 255 = 76%
B 50 of 255 = 20%
R + G + B ~ 58%. #C6C232 is middle color (not dark and not light).
R + G + B =
198 + 194 + 50 = 442 (100%)
R 198 of 442 ~ 44.8%
G 194 of 442 ~ 43.89%
B 50 of 442 ~ 11.31%
#C6C232 color CMYK value is (0,2,75,22).
CMYK: (0,2,75,22) C0M2Y75K22 (0%,2%,75%,22%) (0.00/0.02/0.75/0.22)
C6 | C2 | 32 | |
---|---|---|---|
RGB | 198 | 194 | 50 |
HSL | 58° | 59.68% | 48.63% |
HSB/HSV | 58° | 74.75% | 77.65% |
CMYK | 0.00% | 2.02% | 74.75% |
22.35% |
HEX | C6 | C2 | 32 |
Decimal | 198 | 194 | 50 |
Binary | 11000110 | 11000010 | 110010 |
Octal | 306 | 302 | 62 |
Examples of css and html codes for elements with #C6C232 color. Also use rgb(198,194,50) instead hex code.
.myTextColor { color: #C6C232; }
<p style="color:#C6C232">This sample text font color is #C6C232.</p>
This text font color is #C6C232.
.myBgColor { background-color: #C6C232; }
<div style="background-color:#C6C232">Inner text</div>
This div background color is #C6C232.
.myBorderColor { border: 1px solid #C6C232; }
<div style="border:3px solid #C6C232">Div</div>
This div border color is #C6C232.
.myOpacity80 { color: #C6C232; opacity: 0.8; }
<p style="color:#C6C232;opacity:0.8;">80%</p>
Text with #C6C232 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6C232;}
<p style="text-shadow: 3px 3px 1px #C6C232">Text here.</p>
This text has shadow with #C6C232 color.
.textShadow {text-shadow: 3px 3px 1px #C6C232, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6C232, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6C232 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6C232, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6C232, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6C232 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6C232; -webkit-box-shadow: 1px 1px 3px 2px #C6C232; box-shadow: 1px 1px 3px 2px #C6C232; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6C232; -webkit-box-shadow: 1px 1px 3px 2px #C6C232; box-shadow:1px 1px 3px 2px #C6C232;">
Div content here</div>
This text has color #C6C232 on black background.
This text has color #C6C232 on white background.
This text has black color on #C6C232 background.
This text has white color on #C6C232 background.