HEX: #F2CA05
RGB: (242,202,5)
#F2CA05 contains mainly red and green colors. Web safe color of #F2CA05 is #FFCC00 (or #FC0).
#F2CA05 color RGB value is (242,202,5).
RGB: (242,202,5) (95%,79%,2%)
R 242 of 255 = 95%
G 202 of 255 = 79%
B 5 of 255 = 2%
R + G + B ~ 59%. #F2CA05 is middle color (not dark and not light).
R + G + B =
242 + 202 + 5 = 449 (100%)
R 242 of 449 ~ 53.9%
G 202 of 449 ~ 44.99%
B 5 of 449 ~ 1.11%
#F2CA05 color CMYK value is (0,17,98,5).
CMYK: (0,17,98,5) C0M17Y98K5 (0%,17%,98%,5%) (0.00/0.17/0.98/0.05)
F2 | CA | 05 | |
---|---|---|---|
RGB | 242 | 202 | 5 |
HSL | 50° | 95.95% | 48.43% |
HSB/HSV | 50° | 97.93% | 94.90% |
CMYK | 0.00% | 16.53% | 97.93% |
5.10% |
HEX | F2 | CA | 05 |
Decimal | 242 | 202 | 5 |
Binary | 11110010 | 11001010 | 101 |
Octal | 362 | 312 | 5 |
Examples of css and html codes for elements with #F2CA05 color. Also use rgb(242,202,5) instead hex code.
.myTextColor { color: #F2CA05; }
<p style="color:#F2CA05">This sample text font color is #F2CA05.</p>
This text font color is #F2CA05.
.myBgColor { background-color: #F2CA05; }
<div style="background-color:#F2CA05">Inner text</div>
This div background color is #F2CA05.
.myBorderColor { border: 1px solid #F2CA05; }
<div style="border:3px solid #F2CA05">Div</div>
This div border color is #F2CA05.
.myOpacity80 { color: #F2CA05; opacity: 0.8; }
<p style="color:#F2CA05;opacity:0.8;">80%</p>
Text with #F2CA05 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2CA05;}
<p style="text-shadow: 3px 3px 1px #F2CA05">Text here.</p>
This text has shadow with #F2CA05 color.
.textShadow {text-shadow: 3px 3px 1px #F2CA05, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2CA05, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2CA05 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2CA05, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2CA05, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2CA05 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2CA05; -webkit-box-shadow: 1px 1px 3px 2px #F2CA05; box-shadow: 1px 1px 3px 2px #F2CA05; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2CA05; -webkit-box-shadow: 1px 1px 3px 2px #F2CA05; box-shadow:1px 1px 3px 2px #F2CA05;">
Div content here</div>
This text has color #F2CA05 on black background.
This text has color #F2CA05 on white background.
This text has black color on #F2CA05 background.
This text has white color on #F2CA05 background.