HEX: #FCB402
RGB: (252,180,2)
#FCB402 contains mainly red color. Web safe color of #FCB402 is #FFCC00 (or #FC0).
#FCB402 color RGB value is (252,180,2).
RGB: (252,180,2) (99%,71%,1%)
R 252 of 255 = 99%
G 180 of 255 = 71%
B 2 of 255 = 1%
R + G + B ~ 57%. #FCB402 is middle color (not dark and not light).
R + G + B =
252 + 180 + 2 = 434 (100%)
R 252 of 434 ~ 58.06%
G 180 of 434 ~ 41.47%
B 2 of 434 ~ 0.46%
#FCB402 color CMYK value is (0,29,99,1).
CMYK: (0,29,99,1) C0M29Y99K1 (0%,29%,99%,1%) (0.00/0.29/0.99/0.01)
FC | B4 | 02 | |
---|---|---|---|
RGB | 252 | 180 | 2 |
HSL | 43° | 98.43% | 49.80% |
HSB/HSV | 43° | 99.21% | 98.82% |
CMYK | 0.00% | 28.57% | 99.21% |
1.18% |
HEX | FC | B4 | 02 |
Decimal | 252 | 180 | 2 |
Binary | 11111100 | 10110100 | 10 |
Octal | 374 | 264 | 2 |
Examples of css and html codes for elements with #FCB402 color. Also use rgb(252,180,2) instead hex code.
.myTextColor { color: #FCB402; }
<p style="color:#FCB402">This sample text font color is #FCB402.</p>
This text font color is #FCB402.
.myBgColor { background-color: #FCB402; }
<div style="background-color:#FCB402">Inner text</div>
This div background color is #FCB402.
.myBorderColor { border: 1px solid #FCB402; }
<div style="border:3px solid #FCB402">Div</div>
This div border color is #FCB402.
.myOpacity80 { color: #FCB402; opacity: 0.8; }
<p style="color:#FCB402;opacity:0.8;">80%</p>
Text with #FCB402 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FCB402;}
<p style="text-shadow: 3px 3px 1px #FCB402">Text here.</p>
This text has shadow with #FCB402 color.
.textShadow {text-shadow: 3px 3px 1px #FCB402, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FCB402, 5px 5px 20px red">Text here.</p>
This text has shadow with #FCB402 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FCB402, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FCB402, Direction=45, Strength=4)">Text</p>
This text has shadow with #FCB402 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FCB402; -webkit-box-shadow: 1px 1px 3px 2px #FCB402; box-shadow: 1px 1px 3px 2px #FCB402; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FCB402; -webkit-box-shadow: 1px 1px 3px 2px #FCB402; box-shadow:1px 1px 3px 2px #FCB402;">
Div content here</div>
This text has color #FCB402 on black background.
This text has color #FCB402 on white background.
This text has black color on #FCB402 background.
This text has white color on #FCB402 background.