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