HEX: #C5D960
RGB: (197,217,96)
#C5D960 contains mainly red and green colors. Web safe color of #C5D960 is #CCCC66 (or #CC6).
#C5D960 color RGB value is (197,217,96).
RGB: (197,217,96) (77%,85%,38%)
R 197 of 255 = 77%
G 217 of 255 = 85%
B 96 of 255 = 38%
R + G + B ~ 67%. #C5D960 is quite light color.
R + G + B =
197 + 217 + 96 = 510 (100%)
R 197 of 510 ~ 38.63%
G 217 of 510 ~ 42.55%
B 96 of 510 ~ 18.82%
#C5D960 color CMYK value is (9,0,56,15).
CMYK: (9,0,56,15) C9M0Y56K15 (9%,0%,56%,15%) (0.09/0.00/0.56/0.15)
C5 | D9 | 60 | |
---|---|---|---|
RGB | 197 | 217 | 96 |
HSL | 70° | 61.42% | 61.37% |
HSB/HSV | 70° | 55.76% | 85.10% |
CMYK | 9.22% | 0.00% | 55.76% |
14.90% |
HEX | C5 | D9 | 60 |
Decimal | 197 | 217 | 96 |
Binary | 11000101 | 11011001 | 1100000 |
Octal | 305 | 331 | 140 |
Examples of css and html codes for elements with #C5D960 color. Also use rgb(197,217,96) instead hex code.
.myTextColor { color: #C5D960; }
<p style="color:#C5D960">This sample text font color is #C5D960.</p>
This text font color is #C5D960.
.myBgColor { background-color: #C5D960; }
<div style="background-color:#C5D960">Inner text</div>
This div background color is #C5D960.
.myBorderColor { border: 1px solid #C5D960; }
<div style="border:3px solid #C5D960">Div</div>
This div border color is #C5D960.
.myOpacity80 { color: #C5D960; opacity: 0.8; }
<p style="color:#C5D960;opacity:0.8;">80%</p>
Text with #C5D960 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5D960;}
<p style="text-shadow: 3px 3px 1px #C5D960">Text here.</p>
This text has shadow with #C5D960 color.
.textShadow {text-shadow: 3px 3px 1px #C5D960, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5D960, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5D960 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5D960, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5D960, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5D960 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5D960; -webkit-box-shadow: 1px 1px 3px 2px #C5D960; box-shadow: 1px 1px 3px 2px #C5D960; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5D960; -webkit-box-shadow: 1px 1px 3px 2px #C5D960; box-shadow:1px 1px 3px 2px #C5D960;">
Div content here</div>
This text has color #C5D960 on black background.
This text has color #C5D960 on white background.
This text has black color on #C5D960 background.
This text has white color on #C5D960 background.