HEX: #FCDD22
RGB: (252,221,34)
#FCDD22 contains mainly red and green colors. Web safe color of #FCDD22 is #FFCC33 (or #FC3).
#FCDD22 color RGB value is (252,221,34).
RGB: (252,221,34) (99%,87%,13%)
R 252 of 255 = 99%
G 221 of 255 = 87%
B 34 of 255 = 13%
R + G + B ~ 66%. #FCDD22 is quite light color.
R + G + B =
252 + 221 + 34 = 507 (100%)
R 252 of 507 ~ 49.7%
G 221 of 507 ~ 43.59%
B 34 of 507 ~ 6.71%
#FCDD22 color CMYK value is (0,12,87,1).
CMYK: (0,12,87,1) C0M12Y87K1 (0%,12%,87%,1%) (0.00/0.12/0.87/0.01)
FC | DD | 22 | |
---|---|---|---|
RGB | 252 | 221 | 34 |
HSL | 51° | 97.32% | 56.08% |
HSB/HSV | 51° | 86.51% | 98.82% |
CMYK | 0.00% | 12.30% | 86.51% |
1.18% |
HEX | FC | DD | 22 |
Decimal | 252 | 221 | 34 |
Binary | 11111100 | 11011101 | 100010 |
Octal | 374 | 335 | 42 |
Examples of css and html codes for elements with #FCDD22 color. Also use rgb(252,221,34) instead hex code.
.myTextColor { color: #FCDD22; }
<p style="color:#FCDD22">This sample text font color is #FCDD22.</p>
This text font color is #FCDD22.
.myBgColor { background-color: #FCDD22; }
<div style="background-color:#FCDD22">Inner text</div>
This div background color is #FCDD22.
.myBorderColor { border: 1px solid #FCDD22; }
<div style="border:3px solid #FCDD22">Div</div>
This div border color is #FCDD22.
.myOpacity80 { color: #FCDD22; opacity: 0.8; }
<p style="color:#FCDD22;opacity:0.8;">80%</p>
Text with #FCDD22 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FCDD22;}
<p style="text-shadow: 3px 3px 1px #FCDD22">Text here.</p>
This text has shadow with #FCDD22 color.
.textShadow {text-shadow: 3px 3px 1px #FCDD22, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FCDD22, 5px 5px 20px red">Text here.</p>
This text has shadow with #FCDD22 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FCDD22, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FCDD22, Direction=45, Strength=4)">Text</p>
This text has shadow with #FCDD22 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FCDD22; -webkit-box-shadow: 1px 1px 3px 2px #FCDD22; box-shadow: 1px 1px 3px 2px #FCDD22; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FCDD22; -webkit-box-shadow: 1px 1px 3px 2px #FCDD22; box-shadow:1px 1px 3px 2px #FCDD22;">
Div content here</div>
This text has color #FCDD22 on black background.
This text has color #FCDD22 on white background.
This text has black color on #FCDD22 background.
This text has white color on #FCDD22 background.