HEX: #C6D279
RGB: (198,210,121)
#C6D279 contains mainly red and green colors. Web safe color of #C6D279 is #CCCC66 (or #CC6).
#C6D279 color RGB value is (198,210,121).
RGB: (198,210,121) (78%,82%,47%)
R 198 of 255 = 78%
G 210 of 255 = 82%
B 121 of 255 = 47%
R + G + B ~ 69%. #C6D279 is quite light color.
R + G + B =
198 + 210 + 121 = 529 (100%)
R 198 of 529 ~ 37.43%
G 210 of 529 ~ 39.7%
B 121 of 529 ~ 22.87%
#C6D279 color CMYK value is (6,0,42,18).
CMYK: (6,0,42,18) C6M0Y42K18 (6%,0%,42%,18%) (0.06/0.00/0.42/0.18)
C6 | D2 | 79 | |
---|---|---|---|
RGB | 198 | 210 | 121 |
HSL | 68° | 49.72% | 64.90% |
HSB/HSV | 68° | 42.38% | 82.35% |
CMYK | 5.71% | 0.00% | 42.38% |
17.65% |
HEX | C6 | D2 | 79 |
Decimal | 198 | 210 | 121 |
Binary | 11000110 | 11010010 | 1111001 |
Octal | 306 | 322 | 171 |
Examples of css and html codes for elements with #C6D279 color. Also use rgb(198,210,121) instead hex code.
.myTextColor { color: #C6D279; }
<p style="color:#C6D279">This sample text font color is #C6D279.</p>
This text font color is #C6D279.
.myBgColor { background-color: #C6D279; }
<div style="background-color:#C6D279">Inner text</div>
This div background color is #C6D279.
.myBorderColor { border: 1px solid #C6D279; }
<div style="border:3px solid #C6D279">Div</div>
This div border color is #C6D279.
.myOpacity80 { color: #C6D279; opacity: 0.8; }
<p style="color:#C6D279;opacity:0.8;">80%</p>
Text with #C6D279 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C6D279;}
<p style="text-shadow: 3px 3px 1px #C6D279">Text here.</p>
This text has shadow with #C6D279 color.
.textShadow {text-shadow: 3px 3px 1px #C6D279, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C6D279, 5px 5px 20px red">Text here.</p>
This text has shadow with #C6D279 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C6D279, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C6D279, Direction=45, Strength=4)">Text</p>
This text has shadow with #C6D279 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C6D279; -webkit-box-shadow: 1px 1px 3px 2px #C6D279; box-shadow: 1px 1px 3px 2px #C6D279; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C6D279; -webkit-box-shadow: 1px 1px 3px 2px #C6D279; box-shadow:1px 1px 3px 2px #C6D279;">
Div content here</div>
This text has color #C6D279 on black background.
This text has color #C6D279 on white background.
This text has black color on #C6D279 background.
This text has white color on #C6D279 background.