HEX: #C4DB6C
RGB: (196,219,108)
#C4DB6C contains mainly red and green colors. Web safe color of #C4DB6C is #CCCC66 (or #CC6).
#C4DB6C color RGB value is (196,219,108).
RGB: (196,219,108) (77%,86%,42%)
R 196 of 255 = 77%
G 219 of 255 = 86%
B 108 of 255 = 42%
R + G + B ~ 68%. #C4DB6C is quite light color.
R + G + B =
196 + 219 + 108 = 523 (100%)
R 196 of 523 ~ 37.48%
G 219 of 523 ~ 41.87%
B 108 of 523 ~ 20.65%
#C4DB6C color CMYK value is (11,0,51,14).
CMYK: (11,0,51,14) C11M0Y51K14 (11%,0%,51%,14%) (0.11/0.00/0.51/0.14)
C4 | DB | 6C | |
---|---|---|---|
RGB | 196 | 219 | 108 |
HSL | 72° | 60.66% | 64.12% |
HSB/HSV | 72° | 50.68% | 85.88% |
CMYK | 10.50% | 0.00% | 50.68% |
14.12% |
HEX | C4 | DB | 6C |
Decimal | 196 | 219 | 108 |
Binary | 11000100 | 11011011 | 1101100 |
Octal | 304 | 333 | 154 |
Examples of css and html codes for elements with #C4DB6C color. Also use rgb(196,219,108) instead hex code.
.myTextColor { color: #C4DB6C; }
<p style="color:#C4DB6C">This sample text font color is #C4DB6C.</p>
This text font color is #C4DB6C.
.myBgColor { background-color: #C4DB6C; }
<div style="background-color:#C4DB6C">Inner text</div>
This div background color is #C4DB6C.
.myBorderColor { border: 1px solid #C4DB6C; }
<div style="border:3px solid #C4DB6C">Div</div>
This div border color is #C4DB6C.
.myOpacity80 { color: #C4DB6C; opacity: 0.8; }
<p style="color:#C4DB6C;opacity:0.8;">80%</p>
Text with #C4DB6C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4DB6C;}
<p style="text-shadow: 3px 3px 1px #C4DB6C">Text here.</p>
This text has shadow with #C4DB6C color.
.textShadow {text-shadow: 3px 3px 1px #C4DB6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4DB6C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4DB6C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4DB6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4DB6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4DB6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4DB6C; -webkit-box-shadow: 1px 1px 3px 2px #C4DB6C; box-shadow: 1px 1px 3px 2px #C4DB6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4DB6C; -webkit-box-shadow: 1px 1px 3px 2px #C4DB6C; box-shadow:1px 1px 3px 2px #C4DB6C;">
Div content here</div>
This text has color #C4DB6C on black background.
This text has color #C4DB6C on white background.
This text has black color on #C4DB6C background.
This text has white color on #C4DB6C background.