HEX: #C2C51C
RGB: (194,197,28)
#C2C51C contains mainly red and green colors. Web safe color of #C2C51C is #CCCC33 (or #CC3).
#C2C51C color RGB value is (194,197,28).
RGB: (194,197,28) (76%,77%,11%)
R 194 of 255 = 76%
G 197 of 255 = 77%
B 28 of 255 = 11%
R + G + B ~ 55%. #C2C51C is middle color (not dark and not light).
R + G + B =
194 + 197 + 28 = 419 (100%)
R 194 of 419 ~ 46.3%
G 197 of 419 ~ 47.02%
B 28 of 419 ~ 6.68%
#C2C51C color CMYK value is (2,0,86,23).
CMYK: (2,0,86,23) C2M0Y86K23 (2%,0%,86%,23%) (0.02/0.00/0.86/0.23)
C2 | C5 | 1C | |
---|---|---|---|
RGB | 194 | 197 | 28 |
HSL | 61° | 75.11% | 44.12% |
HSB/HSV | 61° | 85.79% | 77.25% |
CMYK | 1.52% | 0.00% | 85.79% |
22.75% |
HEX | C2 | C5 | 1C |
Decimal | 194 | 197 | 28 |
Binary | 11000010 | 11000101 | 11100 |
Octal | 302 | 305 | 34 |
Examples of css and html codes for elements with #C2C51C color. Also use rgb(194,197,28) instead hex code.
.myTextColor { color: #C2C51C; }
<p style="color:#C2C51C">This sample text font color is #C2C51C.</p>
This text font color is #C2C51C.
.myBgColor { background-color: #C2C51C; }
<div style="background-color:#C2C51C">Inner text</div>
This div background color is #C2C51C.
.myBorderColor { border: 1px solid #C2C51C; }
<div style="border:3px solid #C2C51C">Div</div>
This div border color is #C2C51C.
.myOpacity80 { color: #C2C51C; opacity: 0.8; }
<p style="color:#C2C51C;opacity:0.8;">80%</p>
Text with #C2C51C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C2C51C;}
<p style="text-shadow: 3px 3px 1px #C2C51C">Text here.</p>
This text has shadow with #C2C51C color.
.textShadow {text-shadow: 3px 3px 1px #C2C51C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C2C51C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C2C51C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C2C51C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C2C51C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C2C51C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C2C51C; -webkit-box-shadow: 1px 1px 3px 2px #C2C51C; box-shadow: 1px 1px 3px 2px #C2C51C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C2C51C; -webkit-box-shadow: 1px 1px 3px 2px #C2C51C; box-shadow:1px 1px 3px 2px #C2C51C;">
Div content here</div>
This text has color #C2C51C on black background.
This text has color #C2C51C on white background.
This text has black color on #C2C51C background.
This text has white color on #C2C51C background.