HEX: #C9F942
RGB: (201,249,66)
#C9F942 contains mainly red and green colors. Web safe color of #C9F942 is #CCFF33 (or #CF3).
#C9F942 color RGB value is (201,249,66).
RGB: (201,249,66) (79%,98%,26%)
R 201 of 255 = 79%
G 249 of 255 = 98%
B 66 of 255 = 26%
R + G + B ~ 68%. #C9F942 is quite light color.
R + G + B =
201 + 249 + 66 = 516 (100%)
R 201 of 516 ~ 38.95%
G 249 of 516 ~ 48.26%
B 66 of 516 ~ 12.79%
#C9F942 color CMYK value is (19,0,73,2).
CMYK: (19,0,73,2) C19M0Y73K2 (19%,0%,73%,2%) (0.19/0.00/0.73/0.02)
C9 | F9 | 42 | |
---|---|---|---|
RGB | 201 | 249 | 66 |
HSL | 76° | 93.85% | 61.76% |
HSB/HSV | 76° | 73.49% | 97.65% |
CMYK | 19.28% | 0.00% | 73.49% |
2.35% |
HEX | C9 | F9 | 42 |
Decimal | 201 | 249 | 66 |
Binary | 11001001 | 11111001 | 1000010 |
Octal | 311 | 371 | 102 |
Examples of css and html codes for elements with #C9F942 color. Also use rgb(201,249,66) instead hex code.
.myTextColor { color: #C9F942; }
<p style="color:#C9F942">This sample text font color is #C9F942.</p>
This text font color is #C9F942.
.myBgColor { background-color: #C9F942; }
<div style="background-color:#C9F942">Inner text</div>
This div background color is #C9F942.
.myBorderColor { border: 1px solid #C9F942; }
<div style="border:3px solid #C9F942">Div</div>
This div border color is #C9F942.
.myOpacity80 { color: #C9F942; opacity: 0.8; }
<p style="color:#C9F942;opacity:0.8;">80%</p>
Text with #C9F942 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C9F942;}
<p style="text-shadow: 3px 3px 1px #C9F942">Text here.</p>
This text has shadow with #C9F942 color.
.textShadow {text-shadow: 3px 3px 1px #C9F942, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C9F942, 5px 5px 20px red">Text here.</p>
This text has shadow with #C9F942 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C9F942, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C9F942, Direction=45, Strength=4)">Text</p>
This text has shadow with #C9F942 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C9F942; -webkit-box-shadow: 1px 1px 3px 2px #C9F942; box-shadow: 1px 1px 3px 2px #C9F942; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C9F942; -webkit-box-shadow: 1px 1px 3px 2px #C9F942; box-shadow:1px 1px 3px 2px #C9F942;">
Div content here</div>
This text has color #C9F942 on black background.
This text has color #C9F942 on white background.
This text has black color on #C9F942 background.
This text has white color on #C9F942 background.