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