HEX: #CCFF00
RGB: (204,255,0)
#CCFF00 contains only red and green colors. #CCFF00 color is web safe color. It maybe written shortly as #CF0.
#CCFF00 color RGB value is (204,255,0).
RGB: (204,255,0) (80%,100%,0%)
R 204 of 255 = 80%
G 255 of 255 = 100%
B 0 of 255 = 0%
R + G + B ~ 60%. #CCFF00 is middle color (not dark and not light).
R + G + B =
204 + 255 + 0 = 459 (100%)
R 204 of 459 ~ 44.44%
G 255 of 459 ~ 55.56%
B 0 of 459 ~ 0%
#CCFF00 color CMYK value is (20,0,100,0).
CMYK: (20,0,100,0) C20M0Y100K0 (20%,0%,100%,0%) (0.20/0.00/1.00/0.00)
CC | FF | 00 | |
---|---|---|---|
RGB | 204 | 255 | 0 |
HSL | 72° | 100.00% | 50.00% |
HSB/HSV | 72° | 100.00% | 100.00% |
CMYK | 20.00% | 0.00% | 100.00% |
0.00% |
HEX | CC | FF | 00 |
Decimal | 204 | 255 | 0 |
Binary | 11001100 | 11111111 | 0 |
Octal | 314 | 377 | 0 |
Examples of css and html codes for elements with #CCFF00 color. Also use rgb(204,255,0) instead hex code.
.myTextColor { color: #CCFF00; }
<p style="color:#CCFF00">This sample text font color is #CCFF00.</p>
This text font color is #CCFF00.
.myBgColor { background-color: #CCFF00; }
<div style="background-color:#CCFF00">Inner text</div>
This div background color is #CCFF00.
.myBorderColor { border: 1px solid #CCFF00; }
<div style="border:3px solid #CCFF00">Div</div>
This div border color is #CCFF00.
.myOpacity80 { color: #CCFF00; opacity: 0.8; }
<p style="color:#CCFF00;opacity:0.8;">80%</p>
Text with #CCFF00 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCFF00;}
<p style="text-shadow: 3px 3px 1px #CCFF00">Text here.</p>
This text has shadow with #CCFF00 color.
.textShadow {text-shadow: 3px 3px 1px #CCFF00, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCFF00, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCFF00 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCFF00, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCFF00, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCFF00 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCFF00; -webkit-box-shadow: 1px 1px 3px 2px #CCFF00; box-shadow: 1px 1px 3px 2px #CCFF00; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCFF00; -webkit-box-shadow: 1px 1px 3px 2px #CCFF00; box-shadow:1px 1px 3px 2px #CCFF00;">
Div content here</div>
This text has color #CCFF00 on black background.
This text has color #CCFF00 on white background.
This text has black color on #CCFF00 background.
This text has white color on #CCFF00 background.