HEX: #F1D306
RGB: (241,211,6)
#F1D306 contains mainly red and green colors. Web safe color of #F1D306 is #FFCC00 (or #FC0).
#F1D306 color RGB value is (241,211,6).
RGB: (241,211,6) (95%,83%,2%)
R 241 of 255 = 95%
G 211 of 255 = 83%
B 6 of 255 = 2%
R + G + B ~ 60%. #F1D306 is middle color (not dark and not light).
R + G + B =
241 + 211 + 6 = 458 (100%)
R 241 of 458 ~ 52.62%
G 211 of 458 ~ 46.07%
B 6 of 458 ~ 1.31%
#F1D306 color CMYK value is (0,12,98,5).
CMYK: (0,12,98,5) C0M12Y98K5 (0%,12%,98%,5%) (0.00/0.12/0.98/0.05)
F1 | D3 | 06 | |
---|---|---|---|
RGB | 241 | 211 | 6 |
HSL | 52° | 95.14% | 48.43% |
HSB/HSV | 52° | 97.51% | 94.51% |
CMYK | 0.00% | 12.45% | 97.51% |
5.49% |
HEX | F1 | D3 | 06 |
Decimal | 241 | 211 | 6 |
Binary | 11110001 | 11010011 | 110 |
Octal | 361 | 323 | 6 |
Examples of css and html codes for elements with #F1D306 color. Also use rgb(241,211,6) instead hex code.
.myTextColor { color: #F1D306; }
<p style="color:#F1D306">This sample text font color is #F1D306.</p>
This text font color is #F1D306.
.myBgColor { background-color: #F1D306; }
<div style="background-color:#F1D306">Inner text</div>
This div background color is #F1D306.
.myBorderColor { border: 1px solid #F1D306; }
<div style="border:3px solid #F1D306">Div</div>
This div border color is #F1D306.
.myOpacity80 { color: #F1D306; opacity: 0.8; }
<p style="color:#F1D306;opacity:0.8;">80%</p>
Text with #F1D306 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F1D306;}
<p style="text-shadow: 3px 3px 1px #F1D306">Text here.</p>
This text has shadow with #F1D306 color.
.textShadow {text-shadow: 3px 3px 1px #F1D306, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F1D306, 5px 5px 20px red">Text here.</p>
This text has shadow with #F1D306 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F1D306, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F1D306, Direction=45, Strength=4)">Text</p>
This text has shadow with #F1D306 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F1D306; -webkit-box-shadow: 1px 1px 3px 2px #F1D306; box-shadow: 1px 1px 3px 2px #F1D306; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F1D306; -webkit-box-shadow: 1px 1px 3px 2px #F1D306; box-shadow:1px 1px 3px 2px #F1D306;">
Div content here</div>
This text has color #F1D306 on black background.
This text has color #F1D306 on white background.
This text has black color on #F1D306 background.
This text has white color on #F1D306 background.