HEX: #CCF987
RGB: (204,249,135)
#CCF987 contains mainly red and green colors. Web safe color of #CCF987 is #CCFF99 (or #CF9).
#CCF987 color RGB value is (204,249,135).
RGB: (204,249,135) (80%,98%,53%)
R 204 of 255 = 80%
G 249 of 255 = 98%
B 135 of 255 = 53%
R + G + B ~ 77%. #CCF987 is quite light color.
R + G + B =
204 + 249 + 135 = 588 (100%)
R 204 of 588 ~ 34.69%
G 249 of 588 ~ 42.35%
B 135 of 588 ~ 22.96%
#CCF987 color CMYK value is (18,0,46,2).
CMYK: (18,0,46,2) C18M0Y46K2 (18%,0%,46%,2%) (0.18/0.00/0.46/0.02)
CC | F9 | 87 | |
---|---|---|---|
RGB | 204 | 249 | 135 |
HSL | 84° | 90.48% | 75.29% |
HSB/HSV | 84° | 45.78% | 97.65% |
CMYK | 18.07% | 0.00% | 45.78% |
2.35% |
HEX | CC | F9 | 87 |
Decimal | 204 | 249 | 135 |
Binary | 11001100 | 11111001 | 10000111 |
Octal | 314 | 371 | 207 |
Examples of css and html codes for elements with #CCF987 color. Also use rgb(204,249,135) instead hex code.
.myTextColor { color: #CCF987; }
<p style="color:#CCF987">This sample text font color is #CCF987.</p>
This text font color is #CCF987.
.myBgColor { background-color: #CCF987; }
<div style="background-color:#CCF987">Inner text</div>
This div background color is #CCF987.
.myBorderColor { border: 1px solid #CCF987; }
<div style="border:3px solid #CCF987">Div</div>
This div border color is #CCF987.
.myOpacity80 { color: #CCF987; opacity: 0.8; }
<p style="color:#CCF987;opacity:0.8;">80%</p>
Text with #CCF987 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCF987;}
<p style="text-shadow: 3px 3px 1px #CCF987">Text here.</p>
This text has shadow with #CCF987 color.
.textShadow {text-shadow: 3px 3px 1px #CCF987, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCF987, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCF987 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCF987, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCF987, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCF987 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCF987; -webkit-box-shadow: 1px 1px 3px 2px #CCF987; box-shadow: 1px 1px 3px 2px #CCF987; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCF987; -webkit-box-shadow: 1px 1px 3px 2px #CCF987; box-shadow:1px 1px 3px 2px #CCF987;">
Div content here</div>
This text has color #CCF987 on black background.
This text has color #CCF987 on white background.
This text has black color on #CCF987 background.
This text has white color on #CCF987 background.