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