HEX: #C5D838
RGB: (197,216,56)
#C5D838 contains mainly red and green colors. Web safe color of #C5D838 is #CCCC33 (or #CC3).
#C5D838 color RGB value is (197,216,56).
RGB: (197,216,56) (77%,85%,22%)
R 197 of 255 = 77%
G 216 of 255 = 85%
B 56 of 255 = 22%
R + G + B ~ 61%. #C5D838 is quite light color.
R + G + B =
197 + 216 + 56 = 469 (100%)
R 197 of 469 ~ 42%
G 216 of 469 ~ 46.06%
B 56 of 469 ~ 11.94%
#C5D838 color CMYK value is (9,0,74,15).
CMYK: (9,0,74,15) C9M0Y74K15 (9%,0%,74%,15%) (0.09/0.00/0.74/0.15)
C5 | D8 | 38 | |
---|---|---|---|
RGB | 197 | 216 | 56 |
HSL | 67° | 67.23% | 53.33% |
HSB/HSV | 67° | 74.07% | 84.71% |
CMYK | 8.80% | 0.00% | 74.07% |
15.29% |
HEX | C5 | D8 | 38 |
Decimal | 197 | 216 | 56 |
Binary | 11000101 | 11011000 | 111000 |
Octal | 305 | 330 | 70 |
Examples of css and html codes for elements with #C5D838 color. Also use rgb(197,216,56) instead hex code.
.myTextColor { color: #C5D838; }
<p style="color:#C5D838">This sample text font color is #C5D838.</p>
This text font color is #C5D838.
.myBgColor { background-color: #C5D838; }
<div style="background-color:#C5D838">Inner text</div>
This div background color is #C5D838.
.myBorderColor { border: 1px solid #C5D838; }
<div style="border:3px solid #C5D838">Div</div>
This div border color is #C5D838.
.myOpacity80 { color: #C5D838; opacity: 0.8; }
<p style="color:#C5D838;opacity:0.8;">80%</p>
Text with #C5D838 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5D838;}
<p style="text-shadow: 3px 3px 1px #C5D838">Text here.</p>
This text has shadow with #C5D838 color.
.textShadow {text-shadow: 3px 3px 1px #C5D838, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5D838, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5D838 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5D838, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5D838, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5D838 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5D838; -webkit-box-shadow: 1px 1px 3px 2px #C5D838; box-shadow: 1px 1px 3px 2px #C5D838; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5D838; -webkit-box-shadow: 1px 1px 3px 2px #C5D838; box-shadow:1px 1px 3px 2px #C5D838;">
Div content here</div>
This text has color #C5D838 on black background.
This text has color #C5D838 on white background.
This text has black color on #C5D838 background.
This text has white color on #C5D838 background.