HEX: #C5D298
RGB: (197,210,152)
#C5D298 contains red, green and blue colors in about the same proportion. Web safe color of #C5D298 is #CCCC99 (or #CC9).
#C5D298 color RGB value is (197,210,152).
RGB: (197,210,152) (77%,82%,60%)
R 197 of 255 = 77%
G 210 of 255 = 82%
B 152 of 255 = 60%
R + G + B ~ 73%. #C5D298 is quite light color.
R + G + B =
197 + 210 + 152 = 559 (100%)
R 197 of 559 ~ 35.24%
G 210 of 559 ~ 37.57%
B 152 of 559 ~ 27.19%
#C5D298 color CMYK value is (6,0,28,18).
CMYK: (6,0,28,18) C6M0Y28K18 (6%,0%,28%,18%) (0.06/0.00/0.28/0.18)
C5 | D2 | 98 | |
---|---|---|---|
RGB | 197 | 210 | 152 |
HSL | 73° | 39.19% | 70.98% |
HSB/HSV | 73° | 27.62% | 82.35% |
CMYK | 6.19% | 0.00% | 27.62% |
17.65% |
HEX | C5 | D2 | 98 |
Decimal | 197 | 210 | 152 |
Binary | 11000101 | 11010010 | 10011000 |
Octal | 305 | 322 | 230 |
Examples of css and html codes for elements with #C5D298 color. Also use rgb(197,210,152) instead hex code.
.myTextColor { color: #C5D298; }
<p style="color:#C5D298">This sample text font color is #C5D298.</p>
This text font color is #C5D298.
.myBgColor { background-color: #C5D298; }
<div style="background-color:#C5D298">Inner text</div>
This div background color is #C5D298.
.myBorderColor { border: 1px solid #C5D298; }
<div style="border:3px solid #C5D298">Div</div>
This div border color is #C5D298.
.myOpacity80 { color: #C5D298; opacity: 0.8; }
<p style="color:#C5D298;opacity:0.8;">80%</p>
Text with #C5D298 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5D298;}
<p style="text-shadow: 3px 3px 1px #C5D298">Text here.</p>
This text has shadow with #C5D298 color.
.textShadow {text-shadow: 3px 3px 1px #C5D298, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5D298, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5D298 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5D298, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5D298, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5D298 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5D298; -webkit-box-shadow: 1px 1px 3px 2px #C5D298; box-shadow: 1px 1px 3px 2px #C5D298; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5D298; -webkit-box-shadow: 1px 1px 3px 2px #C5D298; box-shadow:1px 1px 3px 2px #C5D298;">
Div content here</div>
This text has color #C5D298 on black background.
This text has color #C5D298 on white background.
This text has black color on #C5D298 background.
This text has white color on #C5D298 background.